Răsfoiți Sursa

Version 1.6.2

- fixed support for GDEY029T71H 2.9" b/w 168x384, SSD1685
ZinggJM 1 an în urmă
părinte
comite
e242e41f6a
3 a modificat fișierele cu 13 adăugiri și 5 ștergeri
  1. 5 2
      README.md
  2. 1 1
      library.properties
  3. 7 2
      src/gdey/GxEPD2_290_GDEY029T71H.cpp

+ 5 - 2
README.md

@@ -46,7 +46,8 @@
 - Waveshare e-paper displays with SPI: http://forum.arduino.cc/index.php?topic=487007.0
 - Good Display ePaper for Arduino : https://forum.arduino.cc/index.php?topic=436411.0
 - Note that these topics are closed. Use only for reference.
-- create a new topic for each question or issue in https://forum.arduino.cc/c/using-arduino/displays/23
+- The Arduino Forum is no longer watched and answered by the Author.
+- New questions or issues should be posted on https://github.com/ZinggJM/GxEPD2/discussions
 
 ### Note on documentation
 - GxEPD2 uses Adafruit_GFX for Graphics and Text support, which is well documented there
@@ -162,7 +163,9 @@
 - But only few panels at any time, and only panels from known sources. 
 - Adding support will take as much time as needed.
 
-### Version 1.6.1
+### Version 1.6.2
+- fixed support for GDEY029T71H 2.9" b/w 168x384, SSD1685
+#### Version 1.6.1
 - fixed and updated GxEPD2_WiFi_Example
 #### Version 1.6.0
 - updated support for GDEY029T94: fixed a partial refresh issue

+ 1 - 1
library.properties

@@ -1,5 +1,5 @@
 name=GxEPD2
-version=1.6.1
+version=1.6.2
 author=Jean-Marc Zingg
 maintainer=Jean-Marc Zingg
 sentence=Arduino Display Library for SPI E-Paper displays from Dalian Good Display and Waveshare. 

+ 7 - 2
src/gdey/GxEPD2_290_GDEY029T71H.cpp

@@ -372,6 +372,11 @@ void GxEPD2_290_GDEY029T71H::_InitDisplay()
   _writeData(0x05);
   _writeCommand(0x18); //Read built-in temperature sensor
   _writeData(0x80);
+  // NEEDED before first _setPartialRamArea
+  // reason: OTP set for 168x384, but TFT shifted: S8..S175 connected to TFT sources
+  _writeCommand(0x21); // Display Update Controll
+  _writeData(0x00);    // RED normal
+  _writeData(0x00);    // 200x384
   _setPartialRamArea(0, 0, WIDTH, HEIGHT);
   _init_display_done = true;
 }
@@ -380,7 +385,7 @@ void GxEPD2_290_GDEY029T71H::_Update_Full()
 {
   _writeCommand(0x21); // Display Update Controll
   _writeData(0x40);    // bypass RED as 0
-  _writeData(0x00);    // single chip application
+  _writeData(0x00);    // 200x384
   if (useFastFullUpdate)
   {
     _writeCommand(0x1A); // Write to temperature register
@@ -408,7 +413,7 @@ void GxEPD2_290_GDEY029T71H::_Update_Part()
 {
   _writeCommand(0x21); // Display Update Controll
   _writeData(0x00);    // RED normal
-  _writeData(0x00);    // single chip application
+  _writeData(0x00);    // 200x384
   _writeCommand(0x22);
   _writeData(0xdc);
   _writeCommand(0x20);