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.2.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.2.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.2.tar.gz
Algorithm Hash digest
SHA256 56aa54364e14369ac6bb0411fafa8e0f1bda921e63ef0b90bb6b840687d5541c
MD5 f27264681c3a868bba905ae6db995521
BLAKE2b-256 0d1928002438f2796e6f784d748803ef942387fc195e9f95bc13094e76e842b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59982b5cdc5ed259a3a53d0adac2347b2a203fc2460fd4b5e47846fa94cbf121
MD5 3ba2ce3a5a71f930cc647afdf40bacca
BLAKE2b-256 6210d9b91a29817265869ac1945faedf17e79c036173f626337a72668e7400a7

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