Ok here we go! Tested and working with different times and dates:
Take note of this:
#define DS1307_ADDRESS 0xD0 // Switch back to 0x68 when I2C 7-bit addressing is fixed
Pinouts on line 254 for DS1307 and Spark Core
Have fun!
Ok here we go! Tested and working with different times and dates:
Take note of this:
#define DS1307_ADDRESS 0xD0 // Switch back to 0x68 when I2C 7-bit addressing is fixed
Pinouts on line 254 for DS1307 and Spark Core
Have fun!