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

This version

3.1.3

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.1.3.tar.gz
Algorithm Hash digest
SHA256 c18045e5b80e672db5bc99bdccb466681bde1b4b76ecf2455a9a15903721d9d0
MD5 4a3860f156051f1b107839b36b1deb9c
BLAKE2b-256 e3c87fe60987aa651514549b8844553b337133ee8463419960e5f31a9b15889b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6dcbc720cf4b0443a24cc3dd7ca99be8ee383847934fe0f8605cb60b303e93d
MD5 3851bbd07ccfbbb741bc13b2a1f4102f
BLAKE2b-256 2fdb208bd2385453be227eb7702126527ddef4bdcefebf35b6535b2b2f60d753

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