Skip to content

Commit

Permalink
Version 3.1.2
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
ZinggJM committed Aug 8, 2022
1 parent 3e80e90 commit 40baa52
Show file tree
Hide file tree
Showing 46 changed files with 22,429 additions and 111 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ A simple E-Paper display library with common base class and separate IO class fo
### Supporting Arduino Forum Topics:

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

### Supported SPI e-paper panels from Good Display:
- DEPG0150BN 1.50" b/w 200x200, e.g. LILYGO® TTGO T5 V2.4.1 1.50 inch
- GDEP015OC1 1.54" b/w 200x200
- GDEH0154D67 1.54" b/w 200x200 replacement for GDEP015OC1
- GDEW0154Z04 1.54" b/w/r 200x200
Expand All @@ -43,14 +44,22 @@ A simple E-Paper display library with common base class and separate IO class fo
- GDEH0213B72 2.13" b/w, replacement for GDE0213B1
- GDEH0213B73 2.13" b/w, new replacement for GDE0213B1, GDEH0213B72
- GDEW0213I5F 2.13" b/w flexible
- GDEW0213T5D 2.13" b/w 128x296, UC8151 (IL0373)
- GDEW0213Z16 2.13" b/w/r
- GDEW0213Z19 2.13" b/w/r 104x212, UC8151D
- DEPG0213BN 2.13" b/w 128x250, e.g. LILYGO® TTGO T5 V2.3.1 2.13 inch
- GDEH029A1 2.9" b/w
- GDEW029T5 2.9" b/w
- GDEW029T5D 2.9" b/w
- GDEM029T94 2.9" b/w
- GDEW029Z10 2.9" b/w/r
- GDEW029Z13 2.9" b/w/r 128x296, UC8151D
- DEPG0290BS 2.9" b/w 128x296, e.g. LILYGO® TTGO T5 V2.4.1 2.9"
- GDEW026T0 2.6" b/w
- DEPG0266BN 2.66" b/w 152x296, e.g. LILYGO® TTGO T5 2.66 inch
- GDEW027C44 2.7" b/w/r
- GDEW027W3 2.7" b/w
- GDEY027T91 2.7" b/w 176x264, SSD1680
- GDEW0371W7 3.7" b/w
- GDEW042T2 4.2" b/w
- GDEW042Z15 4.2" b/w/r
Expand All @@ -67,7 +76,19 @@ A simple E-Paper display library with common base class and separate IO class fo

### for pin mapping suggestions see ConnectingHardware.md

### Version 3.1.1
### 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
#### Version 3.1.1
- added support for GDEM029T94 2.9" b/w, actual Waveshare 2.9" b/w
- updated example GxEPD_WiFi_Example, for actual GitHub certificate
#### Version 3.1.0
Expand Down
65 changes: 53 additions & 12 deletions examples/GxEPD_Example/GxEPD_Example.ino
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,29 @@
// select the display class to use, only one
//#include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
//#include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w
//#include <GxDEPG0150BN/GxDEPG0150BN.h> // 1.54" b/w
//#include <GxGDEW0154Z04/GxGDEW0154Z04.h> // 1.54" b/w/r 200x200
//#include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
//#include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
//#include <GxGDEH0213B73/GxGDEH0213B73.h> // 2.13" b/w newer panel
//#include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
//#include <GxGDEH0213Z19/GxGDEH0213Z19.h> // 2.13" b/w/r UC8151D
//#include <GxGDEW0213T5D/GxGDEW0213T5D.h> // 2.13" b/w 104x212 UC8151D
//#include <GxDEPG0213BN/GxDEPG0213BN.h> // 2.13" b/w 128x250, SSD1680, TTGO T5 V2.4.1, V2.3.1
//#include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w IL0373
//#include <GxGDEM029T94/GxGDEM029T94.h> // 2.9" b/w
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w UC8151 (IL0373)
//#include <GxGDEW029T5D/GxGDEW029T5D.h> // 2.9" b/w UC8151D
//#include <GxGDEM029T94/GxGDEM029T94.h> // 2.9" b/w
//#include <GxDEPG0290BS/GxDEPG0290BS.h> // 2.9" b/w Waveshare variant, TTGO T5 V2.4.1 2.9"
//#include <GxGDEW029Z10/GxGDEW029Z10.h> // 2.9" b/w/r
//#include <GxGDEH029Z13/GxGDEH029Z13.h> // 2.9" b/w/r UC8151D
//#include <GxGDEW026T0/GxGDEW026T0.h> // 2.6" b/w
//#include <GxDEPG0266BN/GxDEPG0266BN.h> // 2.66" b/w 152x296, SSD1680, TTGO T5 V2.66, TTGO T5 V2.4.1
//#include <GxGDEW027C44/GxGDEW027C44.h> // 2.7" b/w/r
//#include <GxGDEW027W3/GxGDEW027W3.h> // 2.7" b/w
//#include <GxGDEY027T91/GxGDEY027T91.h> // 2.7" b/w
//#include <GxGDEW0371W7/GxGDEW0371W7.h> // 3.7" b/w
//#include <GxGDEW042T2/GxGDEW042T2.h> // 4.2" b/w
//#include <GxGDEW042Z15/GxGDEW042Z15.h> // 4.2" b/w/r
Expand Down Expand Up @@ -89,8 +98,8 @@ GxEPD_Class display(io, /*RST=D4*/ 2, /*BUSY=D2*/ 4); // default selection of D4
// Heltec E-Paper 1.54" b/w without RST, BUSY
//GxEPD_Class display(io, /*RST=D4*/ -1, /*BUSY=D2*/ -1); // no RST, no BUSY
// Waveshare e-Paper ESP8266 Driver Board
//GxIO_Class io(SPI, 15, 4, 5);
//GxEPD_Class display(io, 5, 16);
//GxIO_Class io(SPI, 15, 4, 5);
//GxEPD_Class display(io, 5, 16);

#elif defined(ESP32)

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

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

#elif defined(ARDUINO_ARCH_SAMD)

Expand Down Expand Up @@ -183,6 +195,7 @@ void loop()
delay(2000);
display.drawPaged(showFontCallback);
#endif
display.powerDown();
delay(10000);
}

Expand All @@ -201,7 +214,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEH0154D67_H_)
#if defined(_GxGDEH0154D67_H_) || defined(_GxDEPG0150BN_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand Down Expand Up @@ -264,7 +277,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)
#if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_) || defined(_GxDEPG0213BN_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand Down Expand Up @@ -311,6 +324,20 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEW0213T5D_H_)
void showBitmapExample()
{
display.drawBitmap(BitmapExample1, sizeof(BitmapExample1));
delay(5000);
display.drawBitmap(BitmapExample2, sizeof(BitmapExample2));
delay(5000);
display.fillScreen(GxEPD_WHITE);
display.drawBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
display.update();
delay(5000);
}
#endif

#if defined(_GxGDEW0213Z16_H_)
#define HAS_RED_COLOR
void showBitmapExample()
Expand All @@ -335,6 +362,19 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEH0213Z19_H_)
#define HAS_RED_COLOR
void showBitmapExample()
{
display.drawExamplePicture(BitmapExample1_black, BitmapExample1_red, sizeof(BitmapExample1_black), sizeof(BitmapExample1_red));
delay(5000);
#if !defined(__AVR)
display.drawExamplePicture(BitmapExample2_black, BitmapExample2_red, sizeof(BitmapExample2_black), sizeof(BitmapExample2_red));
delay(5000);
#endif
}
#endif

#if defined(_GxGDEH029A1_H_)
void showBitmapExample()
{
Expand All @@ -350,7 +390,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEW029T5_H_)
#if defined(_GxGDEW029T5_H_) || defined(_GxGDEW029T5D_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand All @@ -367,7 +407,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEM029T94_H_)
#if defined(_GxGDEM029T94_H_) || defined(_GxDEPG0290BS_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand All @@ -381,7 +421,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEW029Z10_H_)
#if defined(_GxGDEW029Z10_H_) || defined(_GxGDEH029Z13_H_)
#define HAS_RED_COLOR
void showBitmapExample()
{
Expand All @@ -408,7 +448,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEW026T0_H_)
#if defined(_GxGDEW026T0_H_) || defined(_GxDEPG0266BN_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand Down Expand Up @@ -441,7 +481,7 @@ void showBitmapExample()
}
#endif

#if defined(_GxGDEW027W3_H_)
#if defined(_GxGDEW027W3_H_) || defined(_GxGDEY027T91_H_)
void showBitmapExample()
{
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
Expand Down Expand Up @@ -688,7 +728,8 @@ void drawCornerTest()
display.setRotation(rotation); // restore
}

#if defined(_GxGDEP015OC1_H_) || defined(_GxGDEH0154D67_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)|| defined(_GxGDEH029A1_H_)
#if defined(_GxGDEP015OC1_H_) || defined(_GxGDEH0154D67_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_)|| defined(_GxGDEH029A1_H_) \
|| defined(_GxDEPG0150BN_H_) || defined(_GxDEPG0213BN_H_)
#include "IMG_0001.h"
void showBoat()
{
Expand Down
Loading

0 comments on commit 40baa52

Please sign in to comment.