hcs08 and ds1307

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

hcs08 and ds1307

739 次查看
alexismercier
Contributor III

hi everybody,

 

Does anyone here know how to initialize the ds1307 rtc on the hcs08?

I want to do a program to manipulate hour and date and i don't really know where to start.

thanks for your aswer

Alexis.

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

351 次查看
Joel69003
Contributor IV

Hi Alexis,

The DS1307 device is connected using the I2C bus. First start looking how it is working and how to use it on your MCU (for example looking at this: http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3291.pdf?fsrch=1&sr=8) ! Then, the datasheet of the DS1307 will be useful to know how you can read/write the date.

Regards,

Joel Guittet

0 项奖励
回复