mirror of
https://github.com/pimoroni/st7735-python.git
synced 2025-01-05 22:40:25 +03:00
Update README
This commit is contained in:
32
README.md
32
README.md
@@ -1,50 +1,22 @@
|
||||
# Python ST7735
|
||||
|
||||
[](https://travis-ci.com/pimoroni/st7735-python)
|
||||
[](https://github.com/pimoroni/st7735-python/actions/workflows/test.yml)
|
||||
[](https://coveralls.io/github/pimoroni/st7735-python?branch=master)
|
||||
[](https://pypi.python.org/pypi/st7735)
|
||||
[](https://pypi.python.org/pypi/st7735)
|
||||
|
||||
|
||||
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 160x80 pixel TFT SPI display. (Specifically the 0.96" SPI LCD from Pimoroni).
|
||||
|
||||
## Installing
|
||||
|
||||
### Python 2
|
||||
|
||||
Make sure you have the following dependencies:
|
||||
|
||||
````
|
||||
sudo apt update
|
||||
sudo apt install python-rpi.gpio python-spidev python-pip python-pil python-numpy
|
||||
````
|
||||
|
||||
Install this library by running:
|
||||
|
||||
````
|
||||
sudo pip install st7735
|
||||
````
|
||||
|
||||
### Python 3
|
||||
|
||||
Make sure you have the following dependencies:
|
||||
|
||||
````
|
||||
sudo apt update
|
||||
sudo apt install python3-rpi.gpio python3-spidev python3-pip python3-pil python3-numpy
|
||||
````
|
||||
|
||||
Install this library by running:
|
||||
|
||||
````
|
||||
sudo python3 -m pip install st7735
|
||||
pip install st7735
|
||||
````
|
||||
|
||||
See example of usage in the examples folder.
|
||||
|
||||
|
||||
# Licensing & History
|
||||
|
||||
This library is a modification of a modification of code originally written by Tony DiCola for Adafruit Industries, and modified to work with the ST7735 by Clement Skau.
|
||||
|
||||
Reference in New Issue
Block a user