writing code for ds1307 using i2c

Status
Not open for further replies.

swapnali

Newbie level 1
Joined
Jun 24, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
7
hello,
i have a written code for DS1307 in pic18f46k20 using i2c master mode.
i tried a many code .but it not work?
can i get proper code to read the second ,minute from ds 1307 and write into ds1307?
 

Last edited by a moderator:

swapnali,


I already have some problems using at same I2C bus, devices with different size address.
If it is the case, try unconnecting other ICs shared with the same SCK / SDA signals.


+++
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…