library to control, set and read time and date from Hotboards rtcc board, wich contains the Microchip MCP7941x real time clock
Dependents: Hotboards_rtcc_manual_timedate Hotboards_rtcc_timeSpan Hotboards_rtcc_alarm Hotboards_rtcc_compiler_timedate ... more
Diff: Hotboards_rtcc.cpp
- Revision:
- 1:0790bcaf8b8f
- Parent:
- 0:3a2ad459941a
--- a/Hotboards_rtcc.cpp Tue Feb 02 04:11:32 2016 +0000 +++ b/Hotboards_rtcc.cpp Tue Feb 09 19:28:24 2016 +0000 @@ -8,8 +8,8 @@ #include "Hotboards_rtcc.h" -#define RTC_ADDR (uint8_t)(0xDE >> 1) -#define EEPROM_ADDR (uint8_t)(0xAE >> 1) +#define RTC_ADDR (uint8_t)(0xDE) +#define EEPROM_ADDR (uint8_t)(0xAE) #define RTC_STARTADDR (uint8_t)0x00 #define ALARM_STARTADDR (uint8_t)0x0A #define CTRL_STARTADDR (uint8_t)0x07