mirror of https://github.com/sqfmi/Watchy.git
Year offsets no longer necessary.
parent
0f585268d4
commit
22883c76b8
|
@ -8,8 +8,6 @@
|
||||||
#define PCF8563 1
|
#define PCF8563 1
|
||||||
#define RTC_DS_ADDR 0x68
|
#define RTC_DS_ADDR 0x68
|
||||||
#define RTC_PCF_ADDR 0x51
|
#define RTC_PCF_ADDR 0x51
|
||||||
#define YEAR_OFFSET_DS 1970
|
|
||||||
#define YEAR_OFFSET_PCF 2000
|
|
||||||
|
|
||||||
class WatchyRTC {
|
class WatchyRTC {
|
||||||
public:
|
public:
|
||||||
|
@ -31,4 +29,4 @@ class WatchyRTC {
|
||||||
String _getValue(String data, char separator, int index);
|
String _getValue(String data, char separator, int index);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue