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-3.3.3.tar.gz (81.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.3.3.tar.gz
Algorithm Hash digest
SHA256 4f44fc65134c82c1a9dd5ef5ced8ef25ed94d5ee6bce12faf68e394d04480d83
MD5 66481092f115a1afbaf8c861b60f21e0
BLAKE2b-256 3562c3cd72d314a246831f88cc747f765c6bf7340a1e34b095663685dd17e5c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45f823a2edb78fdaa834f8a62fdd5a1043aa54bb411a56484ef2516ff9efb6d6
MD5 1b5995c9f117dc60c179cc3755bdb994
BLAKE2b-256 6fd217a5ea5c05229d2f9ea80402fd801d962e52132a69c9161aa5e33d3f1bad

See more details on using hashes here.

Supported by

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