I’m working on altering the DS1307 RTC library for use with the MCP795XX.
The MCP795 has the first register set to hundredths of seconds and I won’t be using those so I adjusted the write and send pointers to the second register.
I’m a little confused about some of the other hex calls. I’m not sure if they need to be changed based on the different chip, or if they are machine code interrupts, as some of them seem to be. Just starting to work on the research the codes, my biggest one is…
#include <Wire.h> #include "DS1307RTC.h" #define DS1307_CTRL_ID 0x68
Just wanted to know if anyone knows what the 0x68 is in reference as neither the ds1307 or mcp795XX have anywhere close to that many registers.
MCP datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22300A.pdf