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
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
Close
Hashes for adafruit-circuitpython-display-text-2.21.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c940dac8caef743af2ae3637932d8f2a8dfc33ca25a0e74e147b61ef58a38218 |
|
MD5 | 5368e8f8b30a506d28f222c28f1c5b54 |
|
BLAKE2b-256 | b8461ae79c412408fb920b382e1cfd1d7ad73f16f48fdda4462bbe65165e0100 |