This version has lower end NXP's PCF8563 that will count per minute instead of per second (Strangely: Does not have a second alarm)
UPDATE: Yes of course has one. And is not only seconds, has also a divisor as 2nd argument, so you can do a set_timer(&i2c, 1HZ, 2) and it will tick 2 times per second.
@goran-mahovlic now PCF8563 version is working per second just the same as DS3231. Just with a 7 times cheaper RTC :)
Take a look when you have some time and tell me if this would be OK to merge it in master
This version has lower end NXP's PCF8563 that will count per minute instead of per second (Strangely: Does not have a second alarm) UPDATE: Yes of course has one. And is not only seconds, has also a divisor as 2nd argument, so you can do a set_timer(&i2c, 1HZ, 2) and it will tick 2 times per second.
Datasheet PCF8563 Reference library Lewis Xhe as much as I respect Lewis his library its not cool and I am sure he never tested all the functions properly. Discarded.
Related to PR: https://github.com/martinberlin/esp-idf-pcf8563/pull/2
Example: