loboris / ESP32_ePaper_example

Full featured ePaper library for ESP32 with demo application
217 stars 38 forks source link

Don't use on 3-color display #11

Open recordfactory opened 5 years ago

recordfactory commented 5 years ago

It will write non-matching values into the non-volatile storage area of the display and render it useless. If you've already done it and got a display which seems to be bricked or showing just garbage: Add static uint8_t defaults[2] ={0x00, 0x8e}; to EPDspi.c . In set registers add EPD_Write(defaults, sizeof(defaults)); and comment all other settings out. Save. In Terminal make all && make flash Display works properly again.

martinberlin commented 3 years ago

Hi Recordfactory, I started some months ago a component to drive epapers on ESP-IDF 4: https://github.com/martinberlin/cale-idf

The component has classes supporting many displays and there are also some color ones, including 4.2, 5.83 and 7.5 inches. Just let me know if you need a class and start a new issue there if you want mentioning the epaper model.