You can also use this Feather to drive Advanced Color e-Paper displays (ACeP). Since the Feather has so much RAM, it can drive these types of displays easily. The following example uses a 5.65" display from Waveshare.
Finally plug the 24-pin extension cable into the 24-pin connector on the Feather. The pins should be facing up.
CircuitPython Usage
To use with CircuitPython, you need to first install the SPD1656 library, and its dependencies, into the lib folder onto your CIRCUITPY drive. Then you need to update code.py with the example script.
Thankfully, we can do this in one go. In the example below, click the Download Project Bundle button below to download the necessary libraries and the code.py file in a zip file. Extract the contents of the zip file, and copy the entire lib folder, the code.py file and the display_ruler_720p.bmp file to your CIRCUITPY drive.
Your CIRCUITPY/lib folder should contain the following file:
- adafruit_spd1656.mpy
# SPDX-FileCopyrightText: Copyright (c) 2023 Scott Shawcroft for Adafruit Industries # SPDX-FileCopyrightText: Copyright (c) 2021 Melissa LeBlanc-Williams for Adafruit Industries # # SPDX-License-Identifier: Unlicense '''Simple test for a 5.65" ACeP eInk Display with the Feather RP2040 ThinkInk''' import board import displayio import busio import adafruit_spd1656 displayio.release_displays() # this pinout is for the Feather RP2040 ThinkInk spi = busio.SPI(board.EPD_SCK, MOSI=board.EPD_MOSI, MISO=None) epd_cs = board.EPD_CS epd_dc = board.EPD_DC epd_reset = board.EPD_RESET epd_busy = board.EPD_BUSY display_bus = displayio.FourWire( spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000 ) display = adafruit_spd1656.SPD1656( display_bus, width=600, height=448, busy_pin=epd_busy ) g = displayio.Group() fn = "/display-ruler-720p.bmp" with open(fn, "rb") as f: pic = displayio.OnDiskBitmap(f) t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader) g.append(t) display.root_group = g display.refresh() while True: pass
After running the example code, you'll see the ACeP display refresh and show the display_ruler_720p.bmp image.
Text editor powered by tinymce.