Skip to main content

Displays text using CircuitPython's displayio.

Project description

Introduction

Documentation Status Discord Build Status

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.show(text_area)
while True:
    pass

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation

For information on building library documentation, please check out this guide.

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

File details

Details for the file adafruit-circuitpython-display-text-2.14.0.tar.gz.

File metadata

  • Download URL: adafruit-circuitpython-display-text-2.14.0.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for adafruit-circuitpython-display-text-2.14.0.tar.gz
Algorithm Hash digest
SHA256 9516bcf4efcf1fe1c97735696e98b78c970a9caaf12d28fccae7f3a94f61afab
MD5 6bd1e78c1c24e27fbd4709e5b67cc2dc
BLAKE2b-256 837b9da35abeae76dafe0ee28ae91176752a3c3b856a4680b283c10236c6bf07

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