CircuitPython driver for TFT Touch screens based on RA8875.
Project description
Introduction
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
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-ra8875-3.1.2.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-ra8875-3.1.2.tar.gz
- Upload date:
- Size: 59.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17575047f12279093546bd41e8e8803ede70b1b22fc1d84808baf678ba8f172d |
|
MD5 | bb5e9be591b12ecc13e5e269f08f35ee |
|
BLAKE2b-256 | 7e32a4f5f8d906cc8e5dc1bccd0dc04677d14b80c0e7e9abecfa027f4ae1dc3e |