??? 12/31/06 12:07 Read: times |
#130255 - Re:Problem with DS1620 and 8051!! Please Help!! Responding to: ???'s previous message |
A code snippet from the program:
MOV A,#0AAH ;Read temp command. CALL OUT_CMD CALL IN_DATA ;Get LSB of temp. MOV R1,A ;Save LSB. CALL IN_DATA ;Get MSB/MSb of temp. MOV R2,A ;Save MSB. MOV P0,A ;//////My changes made to the original program!! MOV A,#0EEH ;Start another temp conversion |