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.root_group = 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.1.7.tar.gz
.
File metadata
- Download URL: adafruit_circuitpython_display_text-3.1.7.tar.gz
- Upload date:
- Size: 81.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df11f4d26695e535618ab7f4652e4909809658ffe4fe4c83868fb5818cee599 |
|
MD5 | 18359a04796de413b8417c4f3e1c71b7 |
|
BLAKE2b-256 | 3743ffdd3f45dbd8592e728de31c081242e3472e0b4387c6d8ea093706ceab9f |
File details
Details for the file adafruit_circuitpython_display_text-3.1.7-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_display_text-3.1.7-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c983e5c8dc90bf5d0b5d7423489fa6fa51b2afa57dfeca0404b042551178c86 |
|
MD5 | 3c3db7d406dec08c1d5a3d569684d272 |
|
BLAKE2b-256 | d480e691393ae9badd3ad9fd0140437f99dd0df9132391194447cdd72141777f |