Microcontroller › 8051 › RTC DS1307 interfacing with 8051 in C using I2C……. › CAN U HELP ME REGARDING C
October 22, 2012 at 9:51 am
#8682
mohammedwaheeduddin
Participant
CAN U HELP ME REGARDING
C VALUE
AND WRITE_LCD((C/16)+48);
AND WRITE_LCD((C%16)+48);
AND THIS LAST LINES
start(); //starts i2c bus
send_byte(device_id+1); //select slave device in read mode
c=receive_byte(1); //receive data from i2c bus
stop(); //stop i2c bus
return c;