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-4.0.2.tar.gz (85.5 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-4.0.2.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-4.0.2.tar.gz
Algorithm Hash digest
SHA256 6db1b67bfab4bfb39cdf9a0761b1fe91acc39a23413d4ebc5ba4381ac71965bb
MD5 073f3d8e5d6599315fd420ec509a9f09
BLAKE2b-256 c74a4a648afafa1247acd82d8e0079263afb388577c4b75d4dad04577b05e993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5cc304da98d51b9bdb4c9c74c626a31a32826178d18a50f872015c5e45941ed4
MD5 f15814d1db4b63b92d2ef621179b07c8
BLAKE2b-256 18afbc34ea28195f4a3fd4e4186d2319e53fc4c2089a4d3c6773ee0829213d6b

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