Python ST7789 driver for MicroPython
 
 
 
Go to file
Russ Hughes 30384dbd0b
Merge pull request #9 from fjcy233/patch-1
Update image_converter.py
2023-12-16 11:02:17 -08:00
docs See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
examples See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
lib See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
romfonts See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
sphinx See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
tft_configs See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
utils Update image_converter.py 2023-12-16 16:16:08 +08:00
.gitignore add sphinx build to gitignore 2023-12-02 20:07:50 -08:00
CHANGELOG.md See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00
LICENSE Add color_order and 128x128 display 2023-11-18 15:30:35 -08:00
README.md See 2023-11-29 CHANGELOG.md 2023-11-29 17:56:48 -08:00

README.md

MicroPython LCD Driver in Python

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 and other 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://russhughes.github.io/st7789py_mpy/

Examples

See the examples directory for example programs that run on:

  • ESP32

    • Generic ESP32 320x240
    • LilyGo T-DISPLAY 135x240
    • LilyGo T-Dongle-S3 80x160 (ST7735)
    • LilyGo T-embed 170x320
    • LILYGO T-QT Pro 128x128 (GC9107)
    • M5STACK AtomS3 128x128 (GC9107)
    • M5STACK CORE2 320x240 (ILI9342)
    • M5STACK CORE 320x240 (ILI9342)
    • M5STACK CoreS3 320x240 (ILI9342)
  • RP2040

    • LilyGo T-DISPLAY RP2040 135x240
    • RP2040-Touch-LCD-1.28 240x240 (GC9A01)
    • Waveshare Pico LCD 1.14 135x240
    • Waveshare Pico LCD 1.3 240x240
    • Waveshare Pico LCD 2 240x320