feat: E-Ink "Dynamic Partial" (#3193)

Use a mixture of full refresh, partial refresh, and skipped updates, balancing urgency and display health.

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
todd-herbert
2024-02-12 02:27:22 +13:00
committed by GitHub
parent ce8673b6dc
commit 36cf9b9ef4
3 changed files with 261 additions and 48 deletions

View File

@@ -5,6 +5,14 @@
#define I2C_SCL SCL
#define USE_EINK
// Settings for Dynamic Partial mode
// Change between partial and full refresh config, or skip update, balancing urgency and display health.
#define USE_EINK_DYNAMIC_PARTIAL
#define EINK_LOWPRIORITY_LIMIT_SECONDS 30
#define EINK_HIGHPRIORITY_LIMIT_SECONDS 1
#define EINK_PARTIAL_REPEAT_LIMIT 5
/*
* eink display pins
*/