• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created over 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fast MicroPython driver for GC9A01 display modules written in C

GC9A01 Display Driver for MicroPython

GC9A01 display photo

This driver is based on devbis' st7789_mpy driver. I modified the original driver for one of my projects to add:

  • Display Rotation.
  • Scrolling
  • Writing text using bitmaps converted from True Type fonts
  • Drawing text using 8 and 16 bit wide bitmap fonts
  • Drawing text using Hershey vector fonts
  • Drawing JPG's, including a SLOW mode to draw jpg's larger than available ram using the TJpgDec - Tiny JPEG Decompressor R0.01d. from http://elm-chan.org/fsw/tjpgd/00index.html

Included are 12 bitmap fonts derived from classic pc text mode fonts, 26 Hershey vector fonts and several example programs for different devices. The driver supports 240x240 displays.

Documentation

Documentation can be found in the docs directory and at https://russhughes.github.io/gc9a01_mpy/

Pre-compiled firmware files

The firmware directory contains pre-compiled firmware for various devices with the gc9a01 C driver and frozen python font files. See the README.md file in the fonts folder for more information on the font files.

ESP32 BOARDS firmware

  • ARDUINO_NANO_ESP32
  • ESP32_GENERIC with 4, 8, 16, or 32MB flash
  • ESP32_GENERIC_C3 with 4, 8, 16, or 32MB flash
  • ESP32_GENERIC_S2 with 4, 8, 16, or 32MB flash
  • ESP32_GENERIC_S3 with 4, 8, 16, or 32MB flash
  • LILYGO_TTGO_LORA32
  • LOLIN_C3_MINI
  • LOLIN_S2_MINI
  • LOLIN_S2_PICO
  • M5STACK_ATOM
  • OLIMEX_ESP32_POE
  • SIL_WESP32
  • UM_FEATHERS2
  • UM_FEATHERS2NEO
  • UM_FEATHERS3
  • UM_NANOS3
  • UM_PROS3
  • UM_TINYPICO
  • UM_TINYS2
  • UM_TINYS3
  • UM_TINYWATCHS3

RP2040 BOARDS firmware

  • ADAFRUIT_ITSYBITSY_RP2040
  • ADAFRUIT_QTPY_RP2040
  • ARDUINO_NANO_RP2040_CONNECT
  • ADAFRUIT_FEATHER_RP2040
  • GARATRONIC_PYBSTICK26_RP2040
  • NULLBITS_BIT_C_PRO
  • PIMORONI_PICOLIPO_16MB
  • PIMORONI_PICOLIPO_4MB
  • PIMORONI_TINY2040
  • RPI_PICO
  • RPI_PICO_W
  • SPARKFUN_PROMICRO
  • SPARKFUN_THINGPLUS
  • W5100S_EVB_PICO
  • W5500_EVB_PICO
  • WAVESHARE_RP2040_LCD_1.28
  • WEACTSTUDIO

This is a work in progress.

-- Russ

More Repositories

1

st7789_mpy

Fast MicroPython driver for ST7789 display module written in C
Python
515
star
2

st7789py_mpy

Driver for 320x240, 240x240, 135x240 and 128x128 ST7789 displays written in MicroPython
Python
128
star
3

s3lcd

ESP_LCD based MicroPython driver for ESP32-S3 Devices with ST7789 or compatible displays.
Python
64
star
4

st7789s3_mpy

MicroPython driver for the TTGO T-Display-S3 st7789 display written in C
Python
55
star
5

ili9342c_mpy

ILI9342C Fast 'C' Driver for MicroPython (M5Stack Core)
Python
46
star
6

gc9a01py

GC9A01 Display driver in MicroPython
Python
37
star
7

ttgo-hershey-fonts

MicroPython Hershey font demo for the TTGO-LCD board
Python
27
star
8

st7789s3_esp_lcd

Fast ESP_LCD based MicroPython driver for the TTGO T-Display-S3 st7789 display written in C
Python
16
star
9

TurtlePlotBot

MicroPython based 3D printed drawing robot
Python
15
star
10

TFT_Menu

A simple Arduino menu class for small ST7735 TFT displays using a clickable rotary encoder.
C++
15
star
11

turtleplotbot3

The TurtlePlotBot3 is a MicroPython based 3D printed drawing robot powered by a TTGO T-Display ESP32 Module
Python
13
star
12

wt32sc01py

WT32SC01 Plus MicroPython Display Driver
Python
11
star
13

micropython_sdl2

MicroPython framebuf display driver/emulator using SDL2
C
10
star
14

t-display-s3

MicroPython display driver for TTGO T-Display-S3 written in python.
Python
10
star
15

lv_st7789

LVGL MicroPython ST7789 Driver
Python
9
star
16

L58Touch

L58 Multi-Touch MicroPython Module
Python
5
star
17

thmi_py

MicroPython display driver for the LILYGO T-HMI written in python.
Python
5
star
18

ClassBotLib

ClassBot Library to control 3d printed drawing robot.
C
3
star
19

hershey-scripts

Hershey font file conversion scripts
Python
3
star
20

TinyBigBuckBunny

Big Buck Bunny MicroPython JPG demo
Python
2
star
21

ColorduinoWordClock

Colorduino version of a Word Clock
Arduino
2
star
22

DanceBot

Yet another DanceBot based on Bobwi and Zowi as used in my Makerspace Workshops
C++
2
star
23

panel_meter_clock

Panel Meter Clock
C++
1
star
24

E5430vBracket

Drive Bracket for DELL E5430v Laptops
OpenSCAD
1
star
25

EtchArtDuino

Arduino powered Etch A Sketch with joystick controller and SD card storage.
C++
1
star
26

WordClock

WordClock source as used in my Confluent Makespace Class
C
1
star