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

File metadata

File hashes

Hashes for adafruit-circuitpython-display-text-3.1.0.tar.gz
Algorithm Hash digest
SHA256 13a5a007a2f89a54fec2d113e1b5035bfaeaac92ea3b5980544cb5d2e253a366
MD5 68528f49d766b53a942337770967e0a7
BLAKE2b-256 962d43bc6b9ad51582eb3bedb403c8c216140cfb3f587ce3d0b38c2b01915afe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2c3821a4ffbc69ca688fa27d89fe367fb2f53a8f1518db64c26d7866d15183
MD5 ab3469d51b986d372962f2cc302b0468
BLAKE2b-256 91c2b73133de3ee7ca9e3beabc9ff4d2195a9634349e18733ec3c6e73d1c66a9

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