??? 01/01/07 03:58 Read: times |
#130269 - Re:Trivial issues.. Responding to: ???'s previous message |
Havent tried the simple stuff, but is this correct:
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 change made to the original program!! Is the data in the accumulator an 8 bit temperature data or something else? but will try out your suggestion anyway.. Thanks.. |