Beta 1.3.1 for PCF8563 RTC.
This commit is contained in:
parent
614b005a54
commit
06642e5b1d
@ -7,19 +7,23 @@
|
|||||||
|
|
||||||
Class (Watchy.h):
|
Class (Watchy.h):
|
||||||
|
|
||||||
|
```
|
||||||
#ifndef PCF8563RTC
|
#ifndef PCF8563RTC
|
||||||
static DS3232RTC RTC;
|
static DS3232RTC RTC;
|
||||||
#else
|
#else
|
||||||
static PCF8563 RTC;
|
static PCF8563 RTC;
|
||||||
#endif
|
#endif
|
||||||
|
```
|
||||||
|
|
||||||
Class (Watchy.cpp):
|
Class (Watchy.cpp):
|
||||||
|
|
||||||
|
```
|
||||||
#ifndef PCF8563RTC
|
#ifndef PCF8563RTC
|
||||||
DS3232RTC WatchyGSR::RTC(false);
|
DS3232RTC WatchyGSR::RTC(false);
|
||||||
#else
|
#else
|
||||||
PCF8563 WatchyGSR::RTC(false);
|
PCF8563 WatchyGSR::RTC(false);
|
||||||
#endif
|
#endif
|
||||||
|
```
|
||||||
|
|
||||||
- The library has 2 notable #defines, PCF8563RTC (defined uses it, commented out, doesn't). Also TIME_H_DIFF which is used to put the year right from 1970 to 2000.
|
- The library has 2 notable #defines, PCF8563RTC (defined uses it, commented out, doesn't). Also TIME_H_DIFF which is used to put the year right from 1970 to 2000.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user