4242#include < GxEPD.h>
4343
4444// select the display class to use, only one
45+ // #include <GxDEPG0150BN/GxDEPG0150BN.h> // 1.50" b/w
4546// #include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
46- // #include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w
47- // #include <GxDEPG0150BN/GxDEPG0150BN.h> // 1.54" b/w
47+ // #include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w 200x200, SSD1681
48+ // #include <GxGDEW0154T8/GxGDEW0154T8.h> // 1.54" b/w 152x152 UC8151 (IL0373)
49+ // #include <GxGDEW0154M09/GxGDEW0154M09.h> // 1.54" b/w 200x200 JD79653A
50+ // #include <GxGDEW0154M10/GxGDEW0154M10.h> // 1.54" b/w 152x152 UC8151D
4851// #include <GxGDEW0154Z04/GxGDEW0154Z04.h> // 1.54" b/w/r 200x200
4952// #include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
53+ // #include <GxGDEH0154Z90/GxGDEH0154Z90.h> // 1.54" b/w/r 200x200 SSD1681
5054// #include <GxGDEW0213I5F/GxGDEW0213I5F.h> // 2.13" b/w 104x212 flexible
5155// #include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
5256// #include <GxGDEH0213B72/GxGDEH0213B72.h> // 2.13" b/w new panel
5357// #include <GxGDEH0213B73/GxGDEH0213B73.h> // 2.13" b/w newer panel
58+ // #include <GxGDEM0213B74/GxGDEM0213B74.h> // 2.13" b/w 128x250 SSD1680
5459// #include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
5560// #include <GxGDEH0213Z19/GxGDEH0213Z19.h> // 2.13" b/w/r UC8151D
5661// #include <GxGDEW0213T5D/GxGDEW0213T5D.h> // 2.13" b/w 104x212 UC8151D
@@ -229,6 +234,40 @@ void showBitmapExample()
229234}
230235#endif
231236
237+ #if defined(_GxGDEW0154T8_H_) || defined(_GxGDEW0154M10_H_)
238+ void showBitmapExample ()
239+ {
240+ display.drawExampleBitmap (BitmapExample1, sizeof (BitmapExample1));
241+ delay (2000 );
242+ display.drawExampleBitmap (BitmapExample2, sizeof (BitmapExample2));
243+ delay (5000 );
244+ display.drawExampleBitmap (BitmapExample3, sizeof (BitmapExample3));
245+ delay (5000 );
246+ display.fillScreen (GxEPD_WHITE);
247+ display.drawExampleBitmap (BitmapExample1, 0 , 0 , GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
248+ display.update ();
249+ delay (5000 );
250+ }
251+ #endif
252+
253+ #if defined(_GxGDEW0154M09_H_)
254+ void showBitmapExample ()
255+ {
256+ display.drawExampleBitmap (BitmapExample1, sizeof (BitmapExample1));
257+ delay (2000 );
258+ display.drawExampleBitmap (BitmapExample2, sizeof (BitmapExample2));
259+ delay (5000 );
260+ #if !defined(__AVR)
261+ display.drawExampleBitmap (BitmapExample3, sizeof (BitmapExample3));
262+ delay (5000 );
263+ #endif
264+ display.fillScreen (GxEPD_WHITE);
265+ display.drawExampleBitmap (BitmapExample1, 0 , 0 , GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
266+ display.update ();
267+ delay (5000 );
268+ }
269+ #endif
270+
232271#if defined(_GxGDEW0154Z04_H_)
233272#define HAS_RED_COLOR
234273void showBitmapExample ()
@@ -254,6 +293,16 @@ void showBitmapExample()
254293}
255294#endif
256295
296+ #if defined(_GxGDEH0154Z90_H_)
297+ #define HAS_RED_COLOR
298+ void showBitmapExample ()
299+ {
300+ display.drawExamplePicture (BitmapExample1, BitmapExample2, sizeof (BitmapExample1), sizeof (BitmapExample2));
301+ delay (5000 );
302+ // display.drawBitmap(BitmapExample2, sizeof(BitmapExample2));
303+ }
304+ #endif
305+
257306#if defined(_GxGDE0213B1_H_)
258307void showBitmapExample ()
259308{
@@ -277,7 +326,7 @@ void showBitmapExample()
277326}
278327#endif
279328
280- #if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_) || defined(_GxDEPG0213BN_H_)
329+ #if defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_) || defined(_GxGDEM0213B74_H_) || defined( _GxDEPG0213BN_H_)
281330void showBitmapExample ()
282331{
283332 display.drawExampleBitmap (BitmapExample1, sizeof (BitmapExample1));
@@ -728,8 +777,8 @@ void drawCornerTest()
728777 display.setRotation (rotation); // restore
729778}
730779
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_)
780+ #if defined(_GxGDEP015OC1_H_) || defined(_GxGDEH0154D67_H_) || defined(_GxGDE0213B1_H_) || defined(_GxGDEH0213B72_H_) || defined(_GxGDEH0213B73_H_) || defined(_GxGDEM0213B74_H_ ) \
781+ || defined (_GxGDEH029A1_H_) || defined ( _GxDEPG0150BN_H_) || defined (_GxDEPG0213BN_H_) || defined (_GxGDEW0154M09_H_ )
733782#include " IMG_0001.h"
734783void showBoat ()
735784{
0 commit comments