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

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

File metadata

File hashes

Hashes for adafruit-circuitpython-display-text-3.0.6.tar.gz
Algorithm Hash digest
SHA256 72f7802bf2c12a130baa6d6081f9d7e8b7eb0547adc584b7ac78824a04d8bcc4
MD5 f5b7aa9041ac116a607b062640f8fb7b
BLAKE2b-256 b84f341ea0606fafaccb7527b80875b4faafb3cc765866232e0b7f5ec827ad02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_display_text-3.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ecc646fbab2611cb04650aa17f23c3c0266bdc55da038e4971409492f0d5ec
MD5 63419362e4015ce418bc412f03700041
BLAKE2b-256 2d848e347d8188467f916237b5a496c40f47d52629d5850908194da329b7e0ba

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