Update callbacks to support also fast update MODE_DU configurable with updateMode enum

This commit is contained in:
martinberlin 2021-06-13 09:42:19 +02:00
parent 97a330ca42
commit 255a1a7680
2 changed files with 11 additions and 5 deletions

View file

@ -7,9 +7,12 @@
#include "epd_driver.h"
#include "epd_highlevel.h"
/*********************
* DEFINES
*********************/
/**************************************************************************************************
* NOTE: This file iis the first version that writes directly on the set_px callback
* each pixel into the epaper display buffer. The second version is not epdiy_epaper.cpp
* It writes *buf and then it comes as *color_map on the flush callback.
* Feel free to experiment with this 2. epdiy_epaper.cpp works better to make a small UX
**************************************************************************************************/
#define TAG "EPDIY"
EpdiyHighlevelState hl;
uint16_t flushcalls = 0;