sqfmi / Watchy

Watchy - An Open Source E-Ink Smartwatch
http://www.sqfmi.com
MIT License
2k stars 334 forks source link

PCF8563: Call rtc_pcf.getDateTime in WatchyRTC::read #168

Closed stuartpb closed 2 years ago

stuartpb commented 2 years ago

Fixes #128 as noted by @neaket

mrmowgli commented 2 years ago

Totally worked on my end :+1:

sqfmi commented 2 years ago

Thank you!

ITCactus commented 2 years ago

@stuartpb could you please clarify what changes should be done (e.g. upgrade/downgrade library/dependency) to make it work/compile?

i constantly have error with this fix: Watchy/src/WatchyRTC.cpp:50:13: error: 'class Rtc_Pcf8563' has no member named 'getDateTime'; did you mean 'getDate'? in both Arduino IDE and PlatformIO.

in Arduino IDE Library Manager i see "Rtc_Pcf8563" has version "1.0.3", and it's the only version available.

touloumtzidis commented 2 years ago

@ITCactus Try adding https://github.com/elpaso/Rtc_Pcf8563 to lib_deps in the platformio.ini

ITCactus commented 2 years ago

ok, that works for PlatformIO. what about Arduino IDE? since Watchy is also (mainly) available for that app, how it will be released with this fix?