Makes displaying text in CircuitPython displayio easier.
Project description
Introduction
Displays text using CircuitPython’s displayio.
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
For a board with a built-in display.
import board
import terminalio
from adafruit_display_text import label
text = "Hello world"
text_area = label.Label(terminalio.FONT, text=text)
text_area.x = 10
text_area.y = 10
board.DISPLAY.show(text_area)
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
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-display-text-2.1.5.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-display-text-2.1.5.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d94a0123c5e2c14de74b7ad25f43ae0b926ea4731781cdaac146109743edc4 |
|
MD5 | 24019c0d58c5124df2ee1f1c9aab828f |
|
BLAKE2b-256 | d6a6e8e8d850b6bc6996f97adf90fb1bf037334e82852b8db30bf25f6e494b16 |