Beta 1.3.1 for PCF8563 RTC.

This commit is contained in:
GuruSR 2021-11-21 22:56:01 -05:00 committed by GitHub
parent 614b005a54
commit 06642e5b1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,19 +7,23 @@
Class (Watchy.h):
```
#ifndef PCF8563RTC
static DS3232RTC RTC;
#else
static PCF8563 RTC;
#endif
```
Class (Watchy.cpp):
```
#ifndef PCF8563RTC
DS3232RTC WatchyGSR::RTC(false);
#else
PCF8563 WatchyGSR::RTC(false);
#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.