pcf8563 driver on t-watch 2020
pcf8563 driver on t-watch 2020
Going though the hardware of the t-watch 2020 I tried the PCF8563 RTC today. I had some difficulties with the original driver written by Lewis Xhe because it did not respect the parameter sequence returned by utime.localtime(). I modified the driver slightly to get rid of the problem. I then wrote an example program synchronizing the RTC with the current time from ntp and another one reading the current time from the pcf8563 using the driver. You can find all this on my github repository: https://github.com/uraich/twatch2020_fi ... re/pcf8563
-
- Posts: 2
- Joined: Sun Jan 31, 2021 11:00 am
Re: pcf8563 driver on t-watch 2020
If you need timezone capability I highly recomend you this fork, I had to make a small change of the original one.
You will also need the Timezone library from the same author.
You will also need the Timezone library from the same author.
Re: pcf8563 driver on t-watch 2020
Thanks for the hint. In addition this will exercise my Russian knowledge, which has suffered recently.
I will check it out.
I will check it out.