Skip to main content

Displays text using CircuitPython's displayio.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

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

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.2.0.tar.gz
Algorithm Hash digest
SHA256 6cbddc153f1da5d99f0964517160bf5c888c997a48c2ddd431fea676c0bb98e8
MD5 7a4a169f437ac7c7753798674b73712f
BLAKE2b-256 d7308ac7c33909e5bc3f54d95e6f1a585ddd914cd858c154ffc36da1492321e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66ae15bf4e364df9d4d1106a1139801ec1bc779b6061f5afc0a3bde96ee52102
MD5 0a9109087ed7d9ca11e4969365c20a2d
BLAKE2b-256 0c6d0d044a4c2b37c39ef6708f60fc5eed5b25d453baf9488b5c4e94da2acbe6

See more details on using hashes here.

Supported by

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