Skip to content

Commit e2cbf86

Browse files
committed
Version 3.0.6
added GxGDEH0213B72, to support GDEH0213B72 2.13" b/w, replacement for GDE0213B1
1 parent 4158f7d commit e2cbf86

File tree

9 files changed

+2812
-8
lines changed

9 files changed

+2812
-8
lines changed

MyEPDs_UpdateInfos.pdf

314 Bytes
Binary file not shown.

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# GxEPD
22
A simple E-Paper display library with common base class and separate IO class for Arduino.
33

4-
## For SPI e-paper displays from Dalian Good Display
5-
## and SPI e-paper boards from Waveshare
4+
- For SPI e-paper displays from Dalian Good Display
5+
- and SPI e-paper boards from Waveshare
6+
7+
- GxEPD2 is better suited for new users or new projects!
68

79
### important note :
810
- these displays are for 3.3V supply and 3.3V data lines
911
- never connect data lines directly to 5V Arduino data pins, use e.g. 4k7/10k resistor divider
1012
- series resistor only is not enough for reliable operation (back-feed effect through protection diodes)
1113
- 4k7/10k resistor divider may not work with flat cable extensions or Waveshare 4.2 board, use level converter then
1214
- do not forget to connect GND
15+
- the actual Waveshare display boards now have level converters and series regulator, safe for 5V
1316

1417
### Paged Drawing, Picture Loop for AVR
1518
- This library uses paged drawing to cope with RAM restriction and missing single pixel update support
@@ -54,8 +57,9 @@ A simple E-Paper display library with common base class and separate IO class fo
5457

5558
### for pin mapping suggestions see ConnectingHardware.md
5659

57-
58-
### Version 3.0.5
60+
### Version 3.0.6
61+
- added GxGDEH0213B72, to support GDEH0213B72 2.13" b/w, replacement for GDE0213B1
62+
#### Version 3.0.5
5963
- added support for GDEW029T5
6064
- fixed wavetable for GDEW0213I5F
6165
#### Version 3.0.4

examples/GxEPD_Example/GxEPD_Example.ino

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
//#include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
4848
//#include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
4949
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
50+
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
5051
//#include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
5152
//#include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
5253
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w IL0373
@@ -231,7 +232,34 @@ void showBitmapExample()
231232
delay(5000);
232233
#endif
233234
display.fillScreen(GxEPD_WHITE);
234-
display.drawBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
235+
display.drawExampleBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
236+
display.update();
237+
delay(5000);
238+
showBoat();
239+
}
240+
#endif
241+
242+
#if defined(_GxGDEH0213B72_H_)
243+
void showBitmapExample()
244+
{
245+
display.drawExampleBitmap(BitmapExample1, sizeof(BitmapExample1));
246+
delay(2000);
247+
display.drawExampleBitmap(BitmapExample2, sizeof(BitmapExample2));
248+
delay(5000);
249+
#if !defined(__AVR)
250+
display.drawExampleBitmap(BitmapExample3, sizeof(BitmapExample3));
251+
delay(5000);
252+
display.drawExampleBitmap(logo, sizeof(logo));
253+
delay(5000);
254+
display.drawExampleBitmap(first, sizeof(first));
255+
delay(5000);
256+
display.drawExampleBitmap(second, sizeof(second));
257+
delay(5000);
258+
display.drawExampleBitmap(third, sizeof(third));
259+
delay(5000);
260+
#endif
261+
display.fillScreen(GxEPD_WHITE);
262+
display.drawExampleBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
235263
display.update();
236264
delay(5000);
237265
showBoat();
@@ -534,7 +562,7 @@ void drawCornerTest()
534562
display.setRotation(rotation); // restore
535563
}
536564

537-
#if defined(_GxGDEP015OC1_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH029A1_H_)
565+
#if defined(_GxGDEP015OC1_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH029A1_H_)
538566
#include "IMG_0001.h"
539567
void showBoat()
540568
{

examples/PagedDisplayForSmallRam/PagedDisplayForSmallRam.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
//#include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
4242
//#include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
4343
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
44+
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
4445
//#include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
4546
//#include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
4647
//#include <GxGDEW029Z10/GxGDEW029Z10.h> // 2.9" b/w/r

examples/PartialUpdateExample/PartialUpdateExample.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
//#include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
4242
//#include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
4343
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
44+
//#include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
4445
//#include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
4546
//#include <GxGDEW029T5/GxGDEW029T5.h> // 2.9" b/w IL0373
4647
//#include <GxGDEW027W3/GxGDEW027W3.h> // 2.7" b/w

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name=GxEPD
2-
version=3.0.5
2+
version=3.0.6
33
author=Jean-Marc Zingg
44
maintainer=Jean-Marc Zingg
55
sentence=Display Library for SPI e-paper panels from Dalian Good Display and boards from Waveshare.
6-
paragraph=Requires HW SPI and Adafruit_GFX. Caution: these e-papers require 3.3V supply AND data lines!
6+
paragraph=GxEPD2 is better suited for new users or new projects!
77
category=Display
88
url=https://github.com/ZinggJM/GxEPD
99
architectures=*

0 commit comments

Comments
 (0)