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.0.5

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

File metadata

File hashes

Hashes for adafruit-circuitpython-display-text-3.0.5.tar.gz
Algorithm Hash digest
SHA256 0361953d1629b271eef3cdffa1a061d15d6bab65777489ec12b29e1fde676909
MD5 9f366bffd321093239d2a101fe8cda2d
BLAKE2b-256 11c7b3d29f0ea521f39eb3fdf85b627b4320a2233098a63fd84c83a97047c247

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5b79e7efddfe91987ffc2ffc705c14b8fd15ea9866efcc96a6a2512ae26c61bc
MD5 7e5dc31a99f16a0c68ba3686d6da685d
BLAKE2b-256 96ad2b5b1a9ee5999d3b8e9f50ba8a2ddc99e8f9423846d3161b974615a66f0a

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