Introduction
displayio driver for ST7735R TFT-LCD displays.
Hardware
Adafruit 0.96” 160x80 Color TFT Display w/ MicroSD Card Breakout
Adafruit 1.44” Color TFT LCD Display with MicroSD Card breakout
If you have a board with a ST7735B chip, you may want to try the Adafruit ST7735 Driver.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Usage Example
import board
import displayio
import fourwire
from adafruit_st7735r import ST7735R
spi = board.SPI()
tft_cs = board.D5
tft_dc = board.D6
displayio.release_displays()
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
display = ST7735R(display_bus, width=128, height=128, colstart=2, rowstart=1)
# Make the display context
splash = displayio.Group()
color_bitmap = displayio.Bitmap(128, 128, 1)
color_palette = displayio.Palette(1)
color_palette[0] = 0xFF0000
bg_sprite = displayio.TileGrid(color_bitmap,
pixel_shader=color_palette,
x=0, y=0)
splash.append(bg_sprite)
while True:
pass
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Metadata
Release files for adafruit-circuitpython-st7735r 2.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adafruit_circuitpython_st7735r-2.0.5.tar.gz | 24.7 kB | Without provenance | Details for adafruit_circuitpython_st7735r-2.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adafruit_circuitpython_st7735r-2.0.5-py3-none-any.whl | Python 3 | none | any | Details for adafruit_circuitpython_st7735r-2.0.5-py3-none-any.whl |
Total release size: 29.9 kB
Release files / adafruit_circuitpython_st7735r-2.0.5.tar.gz
| Download URL | adafruit_circuitpython_st7735r-2.0.5.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89f43ca25094c7a19d2a216f6c3c7c247ae23f9c9b6c9081c935c9e4d3785f40
|
|
BLAKE2b-256 checksum How to use checksums |
9eb67327697039dd2913520ef9e99037ebec3d6f702a33e076bfd6b32120ac43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / adafruit_circuitpython_st7735r-2.0.5-py3-none-any.whl
| Download URL | adafruit_circuitpython_st7735r-2.0.5-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b60d409aa794e086ecf8d8f185f7bf90ab4c68c2c6d19d41629720df883494b
|
|
BLAKE2b-256 checksum How to use checksums |
1a15f19944cd1edb1d623d3f21e62b595049619023f4beae18007bc25fef0043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for adafruit-circuitpython-st7735r 2.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.