Skip to content

Commit 40baa52

Browse files
committed
Version 3.1.2
- added support for DEPG0150BN 1.50" b/w 200x200, e.g. LILYGO® TTGO T5 V2.4.1 1.50 inch - added support for DEPG0213BN 2.13" b/w 128x250, e.g. LILYGO® TTGO T5 V2.3.1 2.13 inch - added support for DEPG0266BN 2.66" b/w 152x296, e.g. LILYGO® TTGO T5 2.66 inch - added support for DEPG0290BS 2.9" b/w 128x296, e.g. LILYGO® TTGO T5 V2.4.1 2.9" - added support for GDEW0213T5D 2.13" b/w 128x296, UC8151 (IL0373) - added support for GDEW0213Z19 2.13" b/w/r 104x212, UC8151D - added support for GDEW029T5D 2.9" b/w 128x296, UC8151D - added support for GDEW029Z13 2.9" b/w/r 128x296, UC8151D - added support for GDEY027T91 2.7" b/w 176x264, SSD1680 - updated certificate and fingerprint for GitHub download in GxEPD_WiFi_Example - added example GxEPD_HelloWorld.ino
1 parent 3e80e90 commit 40baa52

46 files changed

Lines changed: 22429 additions & 111 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ A simple E-Paper display library with common base class and separate IO class fo
3232
### Supporting Arduino Forum Topics:
3333

3434
- Waveshare e-paper displays with SPI: http://forum.arduino.cc/index.php?topic=487007.0
35-
- Good Dispay ePaper for Arduino : https://forum.arduino.cc/index.php?topic=436411.0
35+
- Good Display ePaper for Arduino : https://forum.arduino.cc/index.php?topic=436411.0
3636

3737
### Supported SPI e-paper panels from Good Display:
38+
- DEPG0150BN 1.50" b/w 200x200, e.g. LILYGO® TTGO T5 V2.4.1 1.50 inch
3839
- GDEP015OC1 1.54" b/w 200x200
3940
- GDEH0154D67 1.54" b/w 200x200 replacement for GDEP015OC1
4041
- GDEW0154Z04 1.54" b/w/r 200x200
@@ -43,14 +44,22 @@ A simple E-Paper display library with common base class and separate IO class fo
4344
- GDEH0213B72 2.13" b/w, replacement for GDE0213B1
4445
- GDEH0213B73 2.13" b/w, new replacement for GDE0213B1, GDEH0213B72
4546
- GDEW0213I5F 2.13" b/w flexible
47+
- GDEW0213T5D 2.13" b/w 128x296, UC8151 (IL0373)
4648
- GDEW0213Z16 2.13" b/w/r
49+
- GDEW0213Z19 2.13" b/w/r 104x212, UC8151D
50+
- DEPG0213BN 2.13" b/w 128x250, e.g. LILYGO® TTGO T5 V2.3.1 2.13 inch
4751
- GDEH029A1 2.9" b/w
4852
- GDEW029T5 2.9" b/w
53+
- GDEW029T5D 2.9" b/w
4954
- GDEM029T94 2.9" b/w
5055
- GDEW029Z10 2.9" b/w/r
56+
- GDEW029Z13 2.9" b/w/r 128x296, UC8151D
57+
- DEPG0290BS 2.9" b/w 128x296, e.g. LILYGO® TTGO T5 V2.4.1 2.9"
5158
- GDEW026T0 2.6" b/w
59+
- DEPG0266BN 2.66" b/w 152x296, e.g. LILYGO® TTGO T5 2.66 inch
5260
- GDEW027C44 2.7" b/w/r
5361
- GDEW027W3 2.7" b/w
62+
- GDEY027T91 2.7" b/w 176x264, SSD1680
5463
- GDEW0371W7 3.7" b/w
5564
- GDEW042T2 4.2" b/w
5665
- GDEW042Z15 4.2" b/w/r
@@ -67,7 +76,19 @@ A simple E-Paper display library with common base class and separate IO class fo
6776

6877
### for pin mapping suggestions see ConnectingHardware.md
6978

70-
### Version 3.1.1
79+
### Version 3.1.2
80+
- added support for DEPG0150BN 1.50" b/w 200x200, e.g. LILYGO® TTGO T5 V2.4.1 1.50 inch
81+
- added support for DEPG0213BN 2.13" b/w 128x250, e.g. LILYGO® TTGO T5 V2.3.1 2.13 inch
82+
- added support for DEPG0266BN 2.66" b/w 152x296, e.g. LILYGO® TTGO T5 2.66 inch
83+
- added support for DEPG0290BS 2.9" b/w 128x296, e.g. LILYGO® TTGO T5 V2.4.1 2.9"
84+
- added support for GDEW0213T5D 2.13" b/w 128x296, UC8151 (IL0373)
85+
- added support for GDEW0213Z19 2.13" b/w/r 104x212, UC8151D
86+
- added support for GDEW029T5D 2.9" b/w 128x296, UC8151D
87+
- added support for GDEW029Z13 2.9" b/w/r 128x296, UC8151D
88+
- added support for GDEY027T91 2.7" b/w 176x264, SSD1680
89+
- updated certificate and fingerprint for GitHub download in GxEPD_WiFi_Example
90+
- added example GxEPD_HelloWorld.ino
91+
#### Version 3.1.1
7192
- added support for GDEM029T94 2.9" b/w, actual Waveshare 2.9" b/w
7293
- updated example GxEPD_WiFi_Example, for actual GitHub certificate
7394
#### Version 3.1.0

examples/GxEPD_Example/GxEPD_Example.ino

Lines changed: 53 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,29 @@
4444
// select the display class to use, only one
4545
//#include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
4646
//#include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w
47+
//#include <GxDEPG0150BN/GxDEPG0150BN.h> // 1.54" b/w
4748
//#include <GxGDEW0154Z04/GxGDEW0154Z04.h> // 1.54" b/w/r 200x200
4849
//#include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
4950
//#include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
5051
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
5152
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
5253
//#include <GxGDEH0213B73/GxGDEH0213B73.h> // 2.13" b/w newer panel
5354
//#include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
55+
//#include <GxGDEH0213Z19/GxGDEH0213Z19.h> // 2.13" b/w/r UC8151D
56+
//#include <GxGDEW0213T5D/GxGDEW0213T5D.h> // 2.13" b/w 104x212 UC8151D
57+
//#include <GxDEPG0213BN/GxDEPG0213BN.h> // 2.13" b/w 128x250, SSD1680, TTGO T5 V2.4.1, V2.3.1
5458
//#include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
55-
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w IL0373
56-
//#include <GxGDEM029T94/GxGDEM029T94.h> // 2.9" b/w
59+
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w UC8151 (IL0373)
60+
//#include <GxGDEW029T5D/GxGDEW029T5D.h> // 2.9" b/w UC8151D
61+
//#include <GxGDEM029T94/GxGDEM029T94.h> // 2.9" b/w
62+
//#include <GxDEPG0290BS/GxDEPG0290BS.h> // 2.9" b/w Waveshare variant, TTGO T5 V2.4.1 2.9"
5763
//#include <GxGDEW029Z10/GxGDEW029Z10.h> // 2.9" b/w/r
64+
//#include <GxGDEH029Z13/GxGDEH029Z13.h> // 2.9" b/w/r UC8151D
5865
//#include <GxGDEW026T0/GxGDEW026T0.h> // 2.6" b/w
66+
//#include <GxDEPG0266BN/GxDEPG0266BN.h> // 2.66" b/w 152x296, SSD1680, TTGO T5 V2.66, TTGO T5 V2.4.1
5967
//#include <GxGDEW027C44/GxGDEW027C44.h> // 2.7" b/w/r
6068
//#include <GxGDEW027W3/GxGDEW027W3.h> // 2.7" b/w
69+
//#include <GxGDEY027T91/GxGDEY027T91.h> // 2.7" b/w
6170
//#include <GxGDEW0371W7/GxGDEW0371W7.h> // 3.7" b/w
6271
//#include <GxGDEW042T2/GxGDEW042T2.h> // 4.2" b/w
6372
//#include <GxGDEW042Z15/GxGDEW042Z15.h> // 4.2" b/w/r
@@ -89,8 +98,8 @@ GxEPD_Class display(io, /*RST=D4*/ 2, /*BUSY=D2*/ 4); // default selection of D4
8998
// Heltec E-Paper 1.54" b/w without RST, BUSY
9099
//GxEPD_Class display(io, /*RST=D4*/ -1, /*BUSY=D2*/ -1); // no RST, no BUSY
91100
// Waveshare e-Paper ESP8266 Driver Board
92-
//GxIO_Class io(SPI, 15, 4, 5);
93-
//GxEPD_Class display(io, 5, 16);
101+
//GxIO_Class io(SPI, 15, 4, 5);
102+
//GxEPD_Class display(io, 5, 16);
94103

95104
#elif defined(ESP32)
96105

@@ -99,6 +108,9 @@ GxEPD_Class display(io, /*RST=D4*/ 2, /*BUSY=D2*/ 4); // default selection of D4
99108

100109
GxIO_Class io(SPI, /*CS=5*/ SS, /*DC=*/ 17, /*RST=*/ 16); // arbitrary selection of 17, 16
101110
GxEPD_Class display(io, /*RST=*/ 16, /*BUSY=*/ 4); // arbitrary selection of (16), 4
111+
// for LILYGO® TTGO T5 2.66 board uncomment next two lines instead of previous two lines
112+
//GxIO_Class io(SPI, /*CS=5*/ SS, /*DC=*/ 19, /*RST=*/ 4); // LILYGO® TTGO T5 2.66
113+
//GxEPD_Class display(io, /*RST=*/ 4, /*BUSY=*/ 34); // LILYGO® TTGO T5 2.66
102114

103115
#elif defined(ARDUINO_ARCH_SAMD)
104116

@@ -183,6 +195,7 @@ void loop()
183195
delay(2000);
184196
display.drawPaged(showFontCallback);
185197
#endif
198+
display.powerDown();
186199
delay(10000);
187200
}
188201

@@ -201,7 +214,7 @@ void showBitmapExample()
201214
}
202215
#endif
203216

204-
#if defined(_GxGDEH0154D67_H_)
217+
#if defined(_GxGDEH0154D67_H_) || defined(_GxDEPG0150BN_H_)
205218
void showBitmapExample()
206219
{
207220
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -264,7 +277,7 @@ void showBitmapExample()
264277
}
265278
#endif
266279

267-
#if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)
280+
#if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_) || defined(_GxDEPG0213BN_H_)
268281
void showBitmapExample()
269282
{
270283
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -311,6 +324,20 @@ void showBitmapExample()
311324
}
312325
#endif
313326

327+
#if defined(_GxGDEW0213T5D_H_)
328+
void showBitmapExample()
329+
{
330+
display.drawBitmap(BitmapExample1, sizeof(BitmapExample1));
331+
delay(5000);
332+
display.drawBitmap(BitmapExample2, sizeof(BitmapExample2));
333+
delay(5000);
334+
display.fillScreen(GxEPD_WHITE);
335+
display.drawBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
336+
display.update();
337+
delay(5000);
338+
}
339+
#endif
340+
314341
#if defined(_GxGDEW0213Z16_H_)
315342
#define HAS_RED_COLOR
316343
void showBitmapExample()
@@ -335,6 +362,19 @@ void showBitmapExample()
335362
}
336363
#endif
337364

365+
#if defined(_GxGDEH0213Z19_H_)
366+
#define HAS_RED_COLOR
367+
void showBitmapExample()
368+
{
369+
display.drawExamplePicture(BitmapExample1_black, BitmapExample1_red, sizeof(BitmapExample1_black), sizeof(BitmapExample1_red));
370+
delay(5000);
371+
#if !defined(__AVR)
372+
display.drawExamplePicture(BitmapExample2_black, BitmapExample2_red, sizeof(BitmapExample2_black), sizeof(BitmapExample2_red));
373+
delay(5000);
374+
#endif
375+
}
376+
#endif
377+
338378
#if defined(_GxGDEH029A1_H_)
339379
void showBitmapExample()
340380
{
@@ -350,7 +390,7 @@ void showBitmapExample()
350390
}
351391
#endif
352392

353-
#if defined(_GxGDEW029T5_H_)
393+
#if defined(_GxGDEW029T5_H_) || defined(_GxGDEW029T5D_H_)
354394
void showBitmapExample()
355395
{
356396
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -367,7 +407,7 @@ void showBitmapExample()
367407
}
368408
#endif
369409

370-
#if defined(_GxGDEM029T94_H_)
410+
#if defined(_GxGDEM029T94_H_) || defined(_GxDEPG0290BS_H_)
371411
void showBitmapExample()
372412
{
373413
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -381,7 +421,7 @@ void showBitmapExample()
381421
}
382422
#endif
383423

384-
#if defined(_GxGDEW029Z10_H_)
424+
#if defined(_GxGDEW029Z10_H_) || defined(_GxGDEH029Z13_H_)
385425
#define HAS_RED_COLOR
386426
void showBitmapExample()
387427
{
@@ -408,7 +448,7 @@ void showBitmapExample()
408448
}
409449
#endif
410450

411-
#if defined(_GxGDEW026T0_H_)
451+
#if defined(_GxGDEW026T0_H_) || defined(_GxDEPG0266BN_H_)
412452
void showBitmapExample()
413453
{
414454
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -441,7 +481,7 @@ void showBitmapExample()
441481
}
442482
#endif
443483

444-
#if defined(_GxGDEW027W3_H_)
484+
#if defined(_GxGDEW027W3_H_) || defined(_GxGDEY027T91_H_)
445485
void showBitmapExample()
446486
{
447487
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
@@ -688,7 +728,8 @@ void drawCornerTest()
688728
display.setRotation(rotation); // restore
689729
}
690730

691-
#if defined(_GxGDEP015OC1_H_) || defined(_GxGDEH0154D67_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)|| defined(_GxGDEH029A1_H_)
731+
#if defined(_GxGDEP015OC1_H_) || defined(_GxGDEH0154D67_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)|| defined(_GxGDEH029A1_H_) \
732+
|| defined(_GxDEPG0150BN_H_) || defined(_GxDEPG0213BN_H_)
692733
#include "IMG_0001.h"
693734
void showBoat()
694735
{

0 commit comments

Comments
 (0)