Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

displayio Driver for HX8357 Displays such as the 3.5-inch TFT FeatherWing and Breakout

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
from fourwire import FourWire
from adafruit_hx8357 import HX8357

spi = board.SPI()
tft_cs = board.D9
tft_dc = board.D10

displayio.release_displays()
display_bus = FourWire(spi, command=tft_dc, chip_select=tft_cs)

display = HX8357(display_bus, width=480, height=320)

# Make the display context
splash = displayio.Group()
display.show(splash)

color_bitmap = displayio.Bitmap(480, 320, 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-hx8357 2.0.4

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-hx8357 2.0.4
File Size Uploaded Provenance Actions
adafruit_circuitpython_hx8357-2.0.4.tar.gz 23.0 kB Without provenance Details for adafruit_circuitpython_hx8357-2.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-hx8357 2.0.4
File Interpreter ABI Platform Actions
adafruit_circuitpython_hx8357-2.0.4-py3-none-any.whl Python 3 none any Details for adafruit_circuitpython_hx8357-2.0.4-py3-none-any.whl

Total release size: 27.8 kB

Release files / adafruit_circuitpython_hx8357-2.0.4.tar.gz

Download URL adafruit_circuitpython_hx8357-2.0.4.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e1a059bf83a3f96f1f8ad8b009768934875a9ac9e92236367322f6bbdd2e97ef
BLAKE2b-256 checksum
How to use checksums
a558a0a224bd7929db86b43f1742a680c551e2982735a0afd4ac2a0fb69b77e2
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_hx8357-2.0.4-py3-none-any.whl

Download URL adafruit_circuitpython_hx8357-2.0.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3abd98c4706a35d95f29bb3a7694a593ff87fe8ea4db06fce633d488b36b109c
BLAKE2b-256 checksum
How to use checksums
fc8e97c9c7cc42140196ff48d190c47e6fd97c3fdbfd207c1178eb7ccb40fdaa
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-hx8357 2.0.4

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.

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