Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

displayio driver for ST7735R TFT-LCD displays.

Hardware

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)

Source distribution for adafruit-circuitpython-st7735r 2.0.5
File Size Uploaded
adafruit_circuitpython_st7735r-2.0.5.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-st7735r 2.0.5
File Interpreter ABI Platform
adafruit_circuitpython_st7735r-2.0.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.0.5 This release

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.13

2 release files

1.5.12

2 release files

1.5.11

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

1 release file

1.5.4

1 release file

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page