??? 03/20/06 10:00 Read: times |
#112550 - code formatting Responding to: ???'s previous message |
Welcome to the Forum.
Please read Jon Ledbetter's The Noob's Guide to 8052.com, especially the part on code submitting. Enclosing your code into <pre> and </pre> tags you'll get: $MOD832 ; use 8082 predefined symbols CSEG ; defines the following as a code ORG 1000h INIT: ANL ADCCON1,#11001000B ;ext ref / f/8 / 3acq ANL ADCCON2,#00100011B ;cont mod / CH3 OUT: MOV P3,ADCDATAL ;ADC value to P3 WAIT: MOV A,ADCCON3 JB ACC.7,WAIT ;wait for busy flag to be 0 SJMP OUT ;display again ENDHave fun! Jan Waclawek PS.: Sorry for the question, but is Lammertyn your first name or surname? |
Topic | Author | Date |
ADC / DAC with ADuC832 | 01/01/70 00:00 | |
code formatting | 01/01/70 00:00 | |
off topic and one idea | 01/01/70 00:00 | |
just a guess | 01/01/70 00:00 | |
guessing | 01/01/70 00:00 | |
blinkey | 01/01/70 00:00 | |
KnightriderLED | 01/01/70 00:00 | |
try single-shot AD conversion | 01/01/70 00:00 | |
ADC to pc with serial | 01/01/70 00:00 | |
UART![]() | 01/01/70 00:00 |