adafruit-circuitpython-ssd1351 1.2.3
pip install adafruit-circuitpython-ssd1351==1.2.3
Released:
displayio driver for SSD1351 TFT-LCD displays.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Adafruit Industries
- Tags adafruit , blinka , circuitpython , micropython , ssd1351 , display , tft , lcd , displayio
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Introduction
displayio Driver for SSD1351 Displays
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 adafruit_ssd1351 import SSD1351
spi = board.SPI()
tft_cs = board.D5
tft_dc = board.D6
displayio.release_displays()
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
display = SSD1351(display_bus, width=128, height=128)
# Make the display context
splash = displayio.Group(max_size=10)
display.show(splash)
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
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Documentation
For information on building library documentation, please check out this guide.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Adafruit Industries
- Tags adafruit , blinka , circuitpython , micropython , ssd1351 , display , tft , lcd , displayio
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file adafruit-circuitpython-ssd1351-1.2.3.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-ssd1351-1.2.3.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e937b4cce404fb556439c25079967f8d5ee5da8c3bf955a07ff4fa65aaed971d
|
|
MD5 |
1dea3b05140bf46e02dca4294d14a470
|
|
BLAKE2b-256 |
6f44923c5cf400e684bfc4f33a9ae24674bad9550b738d9063656e8b91657b7f
|