* It makes more sense to put it in the Display class
* The reset should be 2ms, 10ms is worst case
* Also there was a disable call based on display
that makes more sense to put in the default
boot switch statement
* Found that the Resets were caused
by the timer wakeup being set
* Also, some pins will crash the
device if we access them.
Maybe they were protected in 2.0.2
and now they are not.
* This change implements certain
speed improvements on top of
upstream GxEPD2 that are not fully
accepted by the upstream maintainer.
* The change Adds a new WatchyDisplay class
and implements the mods in there.
* Using transactions for SPI communication
* Remove extra delays for yield()
* Remove 10ms active waits in resets
* This reduces (874ms -> 657ms) the display
update. Making it more responsive and
Saving 21mJ/update or 2.6mAh/day
* Speed up SPI transfer to the display
by using 20Mhz instead of default 4Mhz
This saves around 16ms = 1.5mJ/refresh
or 2160mJ/day = 0.6mWh/day = 0.2mAh/day
(890ms -> 874ms)
This replaces "Check Battery" and adds the following info:
* Firmware version
* RTC chip type
The firmware version is #defined in Watchy.h. There might be a
way to do this that's friendlier to the library release process,
but I'll leave that up to the people who actually build the releases.
I plan to extend the About menu with some radio-related info as
I work on getting BLE pairing working with my iPhone.
- Added native NTP sync support
- Fixed bug with WiFi AP not working due to busy lightsleep callback
- Removed year offsets and use TimeLib macros for consistency
* Some pins otherwise are left as output
And their value is kept in deep sleep
This can cause power usage in deep sleep
* From my measurements 0.13mA
Or, 3mAh / day extra usage
* Hibernate should only be called before deep sleep
* Init should only be called once and notify the last init
* Set up init properly with 10ms reset and pulldown
* Use GxEDP2 1.4.0 library new busy callback
to trigger a lightsleep in the mean time
Saving 600ms of CPU time per update, (12mAs/minute)
That is -4mAh per day savings