• Stars
    star
    186
  • Rank 206,067 (Top 5 %)
  • Language
    Python
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

ST7735 TFT LCD driver for MicroPython

MicroPython-ST7735

This is a modified version of GuyCarver's ST7735.py ST7735 TFT LCD driver for MicroPython.

A font file is necessary for displaying text (some font files are in GuyCarver's repo).

Text nowrap option added(default: nowrap=False).

graphicstest.py is a sample code. I wrote this to make it similar to Adafruit's graphicstest sketch for Arduino.

If graphicstest.py doesn't work correctly, try replaceing initr() at line 8 to initg() or initb() or initb2(). You can also change rgb(True) to rgb(False) to switch red and blue pixels if your LCD module shows incorrect colors.

Pin connections for ESP32:

LCD ESP32-DevKitC
VLED 3V3
RST IO17
A0 IO16(DC)
SDA IO13(MOSI)
SCK IO14(CLK)
VCC 3V3
CS IO18
GND GND

YouTube image here

tftbmp.py is another sample similar to Adafruit's tftbmp sketch for Arduino.

Place bmp file named test128x160.bmp in the file system of MicroPython using file uploading tool such as ampy, etc.

offscreen-buffer.py shows how you can use an offscreen frame buffer which is an instance of FrameBuffer class. I tested this on Raspberry Pi Pico. See #9 for the pin connections.

More Repositories

1

micropython-raspberrypi

bare metal Raspberry Pi Zero / Zero W port of MicroPython
C
215
star
2

pico_test_projects

Some projects to test Raspberry Pi Pico unique functionalities, such as interpolators or scanvideo library.
C
87
star
3

FBConsole

frame buffer console class for MicroPython
Python
52
star
4

Waves2

a simple wavetable synthesizer for Korg logue SDK. runs on prologue, minilogue xd, NTS-1
C++
38
star
5

TFLite_Micro_MicroSpeech_M5Stack

M5Stack (ESP32) port of TensorFlow Lite for Microcontrollers demo "Micro Speech"
C++
29
star
6

breakout_rpi_pico

Breakout game for Raspberry Pi Pico with Pimoroni Pico Display pack
C++
22
star
7

picture

Picture display for oscilloscopes
Makefile
22
star
8

abSynth-FM

FM Synthesizer with step sequencer for Arduboy
C++
21
star
9

lissa

generate signal for drawing lissajous figures
Makefile
20
star
10

InkyConverter

an image conversion tool for pimoroni Inky pHAT ePaper display
C++
17
star
11

picovaders

a shooting game for Arduboy
Arduino
13
star
12

TFLite_Micro_MagicWand_M5Stack

M5Stack (ESP32) port of TensorFlow Lite for Microcontrollers demo "Magic Wand"
C++
13
star
13

prologue_tools

Python
12
star
14

teleconf

an effect which generates telephone-like sounds from inputs
Makefile
12
star
15

freeverb-logue

Korg logue SDK port of Freeverb
C++
11
star
16

bare_matal_rpi_zero

C
9
star
17

schroeder

Basic implementation of Schroeder reverbrator for logue SDK
Makefile
8
star
18

maxisynth

KORG logue SDK 2 for drumlogue synth unit sample code using Maximilian library
C++
6
star
19

abshell

a comman shell for arduboy
C
5
star
20

breakout-m5stack

A simple breakout game for M5Stack
C++
5
star
21

ArduboyImager

an image conversion tool for development of Arduboy application
C++
4
star
22

veryshort

Makefile
4
star
23

SimpleVirtualAnalog

a wave table based OSC. a python script for generating wave table is included.
C
3
star
24

W5500_fritzing_data

3
star
25

eurorack_drumlogue

drumlogue port of mutable instruments modules
C++
3
star
26

pwmtest

PWM sound synthesize test for Arduboy
C++
2
star
27

BLIT_osc

a sawtooth oscillator for KORG prologue/minilogue-xd/NTS-1 using BLIT technique
Makefile
2
star
28

MasterVol2

master volume controller for logueSDK-ready synthesizers
Makefile
2
star
29

LFO-OSC

low frequency oscillator for NTS-1
Makefile
2
star
30

eurorack_nts-1_mkii

C++
1
star
31

ST7735_LCD_fritzing_data

1
star
32

pitchy

C++
1
star