Просмотр исходного кода

Version 1.2.4

- added support for GDEH0154D67 1.54" b/w, replacement for GDEP015OC1
- added GxEPD2_SerialFlash_Loader, WiFi bitmap downloader for SPI-flash
- added GxEPD2_SerialFlash_Example, SPI-flash example, e.g. for Winbond 25Q16BVSIG
- minor fixes and comment cleanups
- fix refresh(false) in upper layer: add powerOff() after full refresh
ZinggJM 6 лет назад
Родитель
Сommit
943ae6e94b
3 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      README.md
  2. 1 0
      src/GxEPD2_3C.h
  3. 1 0
      src/GxEPD2_BW.h

+ 1 - 0
README.md

@@ -80,6 +80,7 @@
 - added GxEPD2_SerialFlash_Loader, WiFi bitmap downloader for SPI-flash
 - added GxEPD2_SerialFlash_Example, SPI-flash example, e.g. for Winbond 25Q16BVSIG
 - minor fixes and comment cleanups
+- fix refresh(false) in upper layer: add powerOff() after full refresh
 #### Version 1.2.3
 - fixed partial update for 2.13" 3-color and 2.9" 3-color e-paper
 - partial update can be disabled with attribute usePartialUpdateWindow = false

+ 1 - 0
src/GxEPD2_3C.h

@@ -419,6 +419,7 @@ class GxEPD2_3C : public Adafruit_GFX
     void refresh(bool partial_update_mode = false) // screen refresh from controller memory to full screen
     {
       epd2.refresh(partial_update_mode);
+      if (!partial_update_mode) epd2.powerOff();
     }
     void refresh(int16_t x, int16_t y, int16_t w, int16_t h) // screen refresh from controller memory, partial screen
     {

+ 1 - 0
src/GxEPD2_BW.h

@@ -497,6 +497,7 @@ class GxEPD2_BW : public Adafruit_GFX
     void refresh(bool partial_update_mode = false) // screen refresh from controller memory to full screen
     {
       epd2.refresh(partial_update_mode);
+      if (!partial_update_mode) epd2.powerOff();
     }
     void refresh(int16_t x, int16_t y, int16_t w, int16_t h) // screen refresh from controller memory, partial screen
     {