All Projects → pimoroni → st7735-python

pimoroni / st7735-python

Licence: MIT license
Python library to control an ST7735 TFT LCD display. Allows simple drawing on the display without installing a kernel module.

Projects that are alternatives of or similar to st7735-python

st7789-python
Python library to control an ST7789 240x240 1.3" TFT LCD display.
Stars: ✭ 120 (+166.67%)
Mutual labels:  pypi-package
github-flavored-markdown-to-html
Convert markdown to HTML using the GitHub API and some additional tweaks with Python. Comes with full formula support and image compression.
Stars: ✭ 44 (-2.22%)
Mutual labels:  pypi-package
vfxwindow
Python Qt Window class for compatibility between VFX programs
Stars: ✭ 80 (+77.78%)
Mutual labels:  pypi-package
chemlib
🧪 A comprehensive chemistry library for Python.
Stars: ✭ 26 (-42.22%)
Mutual labels:  pypi-package
fourletter-phat
Python library for the Pimoroni Four Letter pHAT
Stars: ✭ 28 (-37.78%)
Mutual labels:  pypi-package
as7262-python
Python library for the as7262 spectral sensor breakout
Stars: ✭ 14 (-68.89%)
Mutual labels:  pypi-package
cp-tool
cp-tool is an auto generator for solved problems at different online judges.
Stars: ✭ 24 (-46.67%)
Mutual labels:  pypi-package
neowise
Deep Learning library built from scratch with Python and NumPy
Stars: ✭ 16 (-64.44%)
Mutual labels:  pypi-package
sgp30-python
Python library for the SGP30 air quality sensor
Stars: ✭ 26 (-42.22%)
Mutual labels:  pypi-package
pypapago
🐧[Archived][Unofficial] Python wrapper for Papago translation service
Stars: ✭ 45 (+0%)
Mutual labels:  pypi-package
rdkit-pypi
⚛️ RDKit Python Wheels on PyPi. 💻 pip install rdkit-pypi
Stars: ✭ 62 (+37.78%)
Mutual labels:  pypi-package
starcli
✨ Browse trending GitHub projects from your command line
Stars: ✭ 436 (+868.89%)
Mutual labels:  pypi-package
TF2DeepFloorplan
TF2 Deep FloorPlan Recognition using a Multi-task Network with Room-boundary-Guided Attention. Enable tensorboard, quantization, flask, tflite, docker, github actions and google colab.
Stars: ✭ 98 (+117.78%)
Mutual labels:  pypi-package
ISS Info
Python wrapper for tracking information about International Space Station via http://open-notify.org
Stars: ✭ 12 (-73.33%)
Mutual labels:  pypi-package
pms5003-python
Python library for the PMS5003 particulate sensor
Stars: ✭ 40 (-11.11%)
Mutual labels:  pypi-package
PySDM
Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab
Stars: ✭ 26 (-42.22%)
Mutual labels:  pypi-package
keybow-python
Python library for the Pimoroni Keybow 3 and 12 key mechanical keyboard add-ons for Raspberry Pi
Stars: ✭ 27 (-40%)
Mutual labels:  pypi-package
pypi-command-line
A powerful, colorful, beautiful command-line-interface for pypi.org
Stars: ✭ 32 (-28.89%)
Mutual labels:  pypi-package
ewtpy
Empirical wavelet transform (EWT) in Python
Stars: ✭ 52 (+15.56%)
Mutual labels:  pypi-package
trackball-python
Python library for the Pimoroni Track Ball Breakout
Stars: ✭ 30 (-33.33%)
Mutual labels:  pypi-package

Python ST7735

Build Status Coverage Status PyPi Package Python Versions

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

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.

It has been modified by Pimoroni to include support for their 160x80 SPI LCD breakout, and hopefully also generalised enough so that it will support other ST7735-powered displays.

Modifications include:

  • PIL/Pillow has been removed from the underlying display driver to separate concerns- you should create your own PIL image and display it using display(image)
  • width, height, rotation, invert, offset_left and offset_top parameters can be passed into __init__ for alternate displays
  • Adafruit_GPIO has been replaced with RPi.GPIO and spidev to closely align with our other software (IE: Raspberry Pi only)
  • Test fixtures have been added to keep this library stable

Pimoroni invests time and resources forking and modifying this open source code, please support Pimoroni and open-source software by purchasing products from us, too!

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Modified from 'Modified from 'Adafruit Python ILI9341' written by Tony DiCola for Adafruit Industries.' written by Clement Skau.

MIT license, all text above must be included in any redistribution

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].