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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.1.2.tar.gz
Algorithm Hash digest
SHA256 21e0a958a16bea52179d97fee4a9afa576431fb3365b402719c5cb93eb7644e8
MD5 670cbafc6d075bfc68e6613d4a362418
BLAKE2b-256 e050498b70a3a8ea7336a3749766d156d7020d9d3959ccef112426f7bbc78ca6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75de63e43a66868aead90b2a9913ddf27b75c463ed429f7c1f2d31ddb4fe0e27
MD5 e5c2f012314263d2261b12214b184f09
BLAKE2b-256 60b280ef51bfd3ca78a1c3ca422b35d363f49f89e17627ad80ba38791a3276ef

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