Explorar o código

Version 1.2.1

- added support for GDEW075T7 7.5" b/w 800x480
- GDEW075T7 has differential update (1.6s) using a charge balancing waveform
- added optional SW SPI support, see /extras/sw_spi/README
- added /extras/tests/GxEPD2_RefreshTests/GxEPD2_RefreshTests.ino, for waveform tuning
- minor fixes
- note that 7.5" e-paper displays don't work reliable if fed from 3.3V Arduino pin
ZinggJM %!s(int64=7) %!d(string=hai) anos
pai
achega
b00220a872
Modificáronse 2 ficheiros con 10 adicións e 3 borrados
  1. 3 1
      README.md
  2. 7 2
      examples/GxEPD2_Example/GxEPD2_Example.ino

+ 3 - 1
README.md

@@ -14,6 +14,7 @@
 - do not forget to connect GND
 - the actual Waveshare display boards now have level converters and series regulator, safe for 5V
 - use 4k7 pull-down on SS for ESP8266 for boards with level converters
+- note that 7.5" e-paper displays don't work reliable if fed from 3.3V Arduino pin
 
 ### Paged Drawing, Picture Loop
  - This library uses paged drawing to limit RAM use and cope with missing single pixel update support
@@ -79,7 +80,8 @@
 - added optional SW SPI support, see /extras/sw_spi/README
 - added /extras/tests/GxEPD2_RefreshTests/GxEPD2_RefreshTests.ino, for waveform tuning
 - minor fixes 
-### Version 1.2.0
+- note that 7.5" e-paper displays don't work reliable if fed from 3.3V Arduino pin
+#### Version 1.2.0
 - added "fast partial update" (differential update) for GDEW0371W7 3.7" b/w 240x416
 - improved differential update waveform for GDEW026T0 2.6" b/w 152x256
 - fixed init code & improved differential update for GDEW042T2 4.2" b/w 300x400

+ 7 - 2
examples/GxEPD2_Example/GxEPD2_Example.ino

@@ -849,10 +849,15 @@ void drawBitmaps()
 #ifdef _GxBitmaps200x200_H_
 void drawBitmaps200x200()
 {
-#if defined(__AVR)
+#if defined(ARDUINO_AVR_PRO)
+  const unsigned char* bitmaps[] =
+  {
+    logo200x200
+  };
+#elif defined(__AVR)
   const unsigned char* bitmaps[] =
   {
-    logo200x200, first200x200 //, second200x200, third200x200, fourth200x200, fifth200x200, sixth200x200, senventh200x200, eighth200x200
+    logo200x200, first200x200
   };
 #elif defined(_BOARD_GENERIC_STM32F103C_H_)
   const unsigned char* bitmaps[] =