Hi Everybody,
this is a small sample to read and write date and time to DS1307. The single fields for time and date are defined in the B4R part.
For this you need to download new libraries called Time and DS1307rtc in Arduino environment. The ones downloaded with Arduino are old.
I have put integer constants to initialize the time and date fields. You can chose to get a string via serial interface and extract the values to init the device.
Have fun.
Mauro
this is a small sample to read and write date and time to DS1307. The single fields for time and date are defined in the B4R part.
For this you need to download new libraries called Time and DS1307rtc in Arduino environment. The ones downloaded with Arduino are old.
I have put integer constants to initialize the time and date fields. You can chose to get a string via serial interface and extract the values to init the device.
Have fun.
Mauro