micropython-st7789py-lcd-dr.../README.md

42 wiersze
1.0 KiB
Markdown
Czysty Zwykły widok Historia

2021-05-06 18:13:16 +00:00
Python ST7789 driver for MicroPython
====================================
2020-02-01 21:14:12 +00:00
This is a fork of devbis' st7789py_mpy module from
https://github.com/devbis/st7789py_mpy.
2023-11-18 23:30:35 +00:00
This driver has support for:
2020-02-01 21:14:12 +00:00
2023-11-18 23:30:35 +00:00
- 320x240, 240x240, 135x240, and 128x128 pixel displays
- RGB and BGR Color Orders
2021-05-06 18:13:16 +00:00
- Display rotation
- Hardware based scrolling
2023-11-18 23:30:35 +00:00
- Drawing text using converted PC BIOS bitmap fonts
2021-05-06 18:13:16 +00:00
- Drawing text using converted TrueType fonts.
- Drawing converted bitmaps
2020-02-01 21:14:12 +00:00
2021-05-06 18:13:16 +00:00
This is a work in progress. Documentation can be found in the docs directory
and at https://penfold.owt.com/st7789py.
2020-02-01 21:14:12 +00:00
Examples
--------
2023-11-18 23:30:35 +00:00
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"
2021-05-06 18:13:16 +00:00
Fonts
-----
2020-02-01 21:14:12 +00:00
2021-05-06 18:13:16 +00:00
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.
2023-11-18 23:30:35 +00:00