hi.... i am facing problem while using aduc812 internal i2c controller for rtc interface please send me asm code also.i am using ds1307 rtc controller
<extract> //JB MDI,$; //CHK_ACK1:JNB MDI,OKCOUNT1 // DJNZ PRX_TOH,CHK_ACK1 // DJNZ PRX_TOL ,CHK_ACK1 // SETB ERROR_FLAG // OKCOUNT1:CLR MCO DOWN1: RET SENDACK:SETB MDE CLR MDO; CALL SCL_HIGH; CALL DELAY1 CLR MCO; CLR MDE RET </extract>
The technical word for this code is: Rubbish.
There is an alternative word, but I don't want to be chastised!