Skip to main content

CircuitPython driver for TFT Touch screens based on RA8875.

Project description

Introduction

Documentation Status Discord Build Status

This is a full featured CircuitPython Library for the RA8875 that included all of the hardware accelerated drawing functions as the original Arduino library. A lot of the functionality has been streamlined with a focus on ease of use that is still flexible enough to make full use of the hardware. For instace, Graphics and Text mode switching is now automatic and handled in the background.

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.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-ra8875

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-ra8875

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install adafruit-circuitpython-ra8875

Usage Example

See examples/ra8875_simpletest.py and examples/ra8875_bmptest.py for examples of the module’s usage. When running the bmptest, be sure to upload the blinka.bmp image to the root folder as well.

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


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-ra8875-3.0.1.tar.gz (59.1 kB view details)

Uploaded Source

File details

Details for the file adafruit-circuitpython-ra8875-3.0.1.tar.gz.

File metadata

  • Download URL: adafruit-circuitpython-ra8875-3.0.1.tar.gz
  • Upload date:
  • Size: 59.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for adafruit-circuitpython-ra8875-3.0.1.tar.gz
Algorithm Hash digest
SHA256 ffd7b6a902a36a809195b4bf3ccd84755c5e44f74fd94a617a4ff1c58f5b7e65
MD5 f0d53bf8d1ce72da8a02c45d543e598c
BLAKE2b-256 aef17f8da6a8d2b925ebf27291eefd13d358de9900bc289f3a223b58d0158f3f

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