Skip to main content

Displays text using CircuitPython's displayio.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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

5.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adafruit_circuitpython_display_text-5.0.1.tar.gz (103.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.1.tar.gz
Algorithm Hash digest
SHA256 e606e9fc6fe98a746653b4cf1f7b7bdbd36e838e0b4f33422f82e7539234352f
MD5 c7737cd058388acb9213818f9bb87012
BLAKE2b-256 ec755f3cd83ad691cccf3ce6ae8b0949500688a2382e11c6cb7b57a0d3e4bd74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b355123d2432d4dc3cc1f365356432ff0ef0bef509533b488361f91a74a9d346
MD5 2bdc621b6c4956690187c1acfa70638b
BLAKE2b-256 76f8296cbda87a449c34d4771422548b3533b55dad87341798a2615518c01465

See more details on using hashes here.

Supported by

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