Displays text using CircuitPython's displayio.
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
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.
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
Built Distribution
File details
Details for the file adafruit-circuitpython-display-text-3.0.1.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-display-text-3.0.1.tar.gz
- Upload date:
- Size: 80.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2904119f935953f26f55c447075e8c92bac837a0860da97390569736c647c42 |
|
MD5 | 47915701bd0ad0b28660bf0fb10d5a74 |
|
BLAKE2b-256 | 93aaa235cd9b543be4552beeb2c77eaf8aea1955a9156b7a80e87568b3e40f42 |
File details
Details for the file adafruit_circuitpython_display_text-3.0.1-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_display_text-3.0.1-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d79f954928f32898119a7d5ac66fe47daf6d5eda69c2897b62400f75f5725d28 |
|
MD5 | 4a06d63143007a46b4d924f780db9f83 |
|
BLAKE2b-256 | a8645db427e38a5cb39bcf66a338ea77635d666db384781b1bf3076423d70a50 |