??? 03/31/04 18:31 Read: times |
#67740 - RE: testing dallas rtc & 8052 Responding to: ???'s previous message |
eric mcnamara wrote:
------------------------------- Hi Steve
can u give me a hand with this code? how can i combine the 2 codes to that the real time clocks info is sent to my lcd display? Well, from what you have here, you can't. The "RTC" part has nothing to do with the RTC on your board for a start. REPEAT: MOV R0,#0H MOV R2,#0H MOV DPTR, #IT_IS_WORKING ; MOV 300H TO DPTR MOV A,#0H CALL PRINTIT MOV A,#BOTTOM ; MOVE CURSER TO BOTTOM ROW. CALL INSTRUCTION_TO_LCD JMP REPEAT ;KEEP ON REPEATING THE SENTENCE (DEMO CODE ONLY). If I were you I'd start hacking in here. Steve |