Python ST7789 driver for MicroPython
 
 
 
Go to file
Russ Hughes ca9127351c Add color_order and 128x128 display 2023-11-18 15:30:35 -08:00
docs additional examples and doc update 2021-12-23 10:54:40 -08:00
examples Add examples for LILYGO TTGO T-Display RP2040 2022-01-13 18:59:14 +09:00
fonts font clenup 2021-05-05 23:23:45 -07:00
lib Add color_order and 128x128 display 2023-11-18 15:30:35 -08:00
sphinx additional examples and doc update 2021-12-23 10:54:40 -08:00
utils additional examples and doc update 2021-12-23 10:54:40 -08:00
.gitignore ignore vscode local .history 2021-12-23 00:35:05 -08:00
LICENSE Add color_order and 128x128 display 2023-11-18 15:30:35 -08:00
README.md Add color_order and 128x128 display 2023-11-18 15:30:35 -08:00

README.md

Python ST7789 driver for MicroPython

This is a fork of devbis' st7789py_mpy module from https://github.com/devbis/st7789py_mpy.

This driver has support for:

  • 320x240, 240x240, 135x240, and 128x128 pixel displays
  • RGB and BGR Color Orders
  • Display rotation
  • Hardware based scrolling
  • Drawing text using converted PC BIOS bitmap fonts
  • Drawing text using converted TrueType fonts.
  • Drawing converted bitmaps

This is a work in progress. Documentation can be found in the docs directory and at https://penfold.owt.com/st7789py.

Examples

See the examples directory for example programs that run on:

  • M5STACK AtomS3
  • Generic ESP32 connected to a 320x240 display
  • LILYGO® TTGO T-Display
  • LILYGO® TTGO T-Display RP2040
  • Raspberry Pi Pico
    • Waveshare 1.3"
    • Waveshare 1.14"

Fonts

See the subdirectories in the fonts directory for the converted font modules used in the examples. These modules can be compiled using the mpy-cross compiler before uploading to save memory.