satoshi yoneda 2a3ac8e0b5 first commit | 6 年 前 | |
---|---|---|
.. | ||
ST7735 | 6 年 前 | |
examples | 6 年 前 | |
.gitignore | 6 年 前 | |
LICENSE | 6 年 前 | |
README.md | 6 年 前 | |
ez_setup.py | 6 年 前 | |
setup.py | 6 年 前 |
Python library to control an ST7735 TFT LCD display. Allows simple drawing on the display without installing a kernel module.
Designed specifically to work with a ST7735 based 128x160 pixel TFT SPI display.
For all platforms (Raspberry Pi and Beaglebone Black) make sure you have the following dependencies:
sudo apt-get update
sudo apt-get install build-essential python-dev python-smbus python-pip python-imaging python-numpy
For a Raspberry Pi make sure you have the RPi.GPIO and Adafruit GPIO libraries by executing:
sudo pip install RPi.GPIO
sudo pip install Adafruit_GPIO
For a BeagleBone Black make sure you have the Adafruit_BBIO library by executing:
sudo pip install Adafruit_BBIO
Install the library by downloading with the download link on the right, unzipping the archive, navigating inside the library's directory and executing:
sudo python setup.py install
See example of usage in the examples folder.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Modified from 'Adafruit Python ILI9341' written by Tony DiCola for Adafruit Industries.
MIT license, all text above must be included in any redistribution