Skip to main content

Displays text using CircuitPython's displayio.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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

adafruit_circuitpython_display_text-5.0.3.tar.gz (103.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_display_text-5.0.3.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.3.tar.gz
Algorithm Hash digest
SHA256 618a9e18d338495946bd57ba9ee9b2cc0d39a93793db35168fa089299c2f295a
MD5 5cc747c59d805eedd0a90105d377ef3e
BLAKE2b-256 e5816e8f8b0763b663c3c95a8abe3d40b8d5d01807e794e849b0fd0f59326cb7

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_display_text-5.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4b17a31685db243f501f2ff59d927cefd35b791585b93e0009b9b003efdfb5
MD5 867306f97acf09dae8df6668e52e4f9a
BLAKE2b-256 02815c0f920aabab478b1ab28f7a5e2f908bdbbc2046bafd4779da3bfd8e02db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page