
Open up File→Examples→Adafruit_EPD→ThinkInk_mono


Open up File→Examples→Adafruit_EPD→ThinkInk_tricolor
2.9" Grayscale 296x128 Pixel Display
For the 296x128 Grayscale display, below is the grayscale demo.

Open up File→Examples→Adafruit_EPD→ThinkInk_gray4
No matter what display you have, you will need to verify that your pins match your wiring. At the top of the sketch find the lines that look like:
#define EPD_DC 10 #define EPD_CS 9 #define SRAM_CS 6 #define EPD_RESET 8 // can set to -1 and share with microcontroller Reset! #define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
If you are using the FeatherWing only: Change both EPD_RESET
and EPD_BUSY
to -1 since neither of these lines are connected on the FeatherWing.
If you wired the display differently than on the wiring page, adjust the pin numbers accordingly.
Configure Display Type & Size
Find the part of the script where you can pick which display is going to be used. The eInk displays are made up a combination of a Chipset and a Film in different sizes. Adafruit has narrowed it down to just a few choices between the size of the display, chipset, and film based on available combinations. In the sketch, it is sorted by size, so it's easy to find your display.
You will need to uncomment the appropriate initializer and and leave any other type commented.
For the 2.9" 296x128 Monochrome Flexible Display, you will use the ThinkInk_290_Mono_M06
display initializer.
For the newer 2.9" 296x128 Tri-Color breakout, you will use the ThinkInk_290_Tricolor_Z13
display initializer.
For the older 2.9" 296x128 Tri-Color breakout or 2.9" 296x128 Tri-Color FeatherWing, you will use the ThinkInk_290_Tricolor_Z10
display initializer.
For the 2.9" 296x128Grayscale breakout , you will use the ThinkInk_290_Grayscale4_T5
display initializer.
For example, for the mono 296x128 flexible display, uncomment this line, and comment any other line that is creating a ThinkInk display object
// 2.9" Monochrome displays with 296x128 pixels and UC8151D chipset //ThinkInk_290_Mono_M06 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
Upload Sketch
After checking the pinouts and the display type one more time, go ahead and upload the sketch to your board. Once it is done uploading, open the Serial Monitor.
The display should start running a series of display tests
Page last edited May 29, 2024
Text editor powered by tinymce.