Not only can you draw shapes but you can also load images from the SD card, perfect for static images!

Tri-Color Display Demo

The Tri-color demo uses a single bitmap. The Blinka bitmaps below is used for the demonstration. Select the one that is correct for your display:

Download the blinka.bmp file and place it into the base directory of a microSD card and insert it into the microSD socket in the breakout.

Plug the MicroSD card into the display. You may want to try the SD library examples before continuing, especially one that lists all the files on the SD card

Open the file→examples→Adafruit_ImageReader→ThinkInkDisplays example

There are just a couple of things you may need to change in this file.

You will need to change your initializer to use ThinkInk_270_Tricolor_C44.

If you are using the shield, use these pin configurations:

#define EPD_DC      9
#define EPD_CS      10
#define SRAM_CS     8
#define EPD_RESET   -1
#define EPD_BUSY    -1
#define SD_CS       5

Upload to your board and you should see an image of Blinka appear.

If you want to later use your own image, use an image editing tool and crop your image to no larger than 264 pixels wide and 176 pixels high. Save it as a 24-bit color BMP file - it must be 24-bit color format to work, even if it was originally a 16-bit color image - because of the way BMPs are stored and displayed!

This guide was first published on May 17, 2022. It was last updated on 2022-05-17 21:13:05 -0400.

This page (Arduino Bitmaps) was last updated on Jun 22, 2022.

Text editor powered by tinymce.