A library to drive PCD8544, HT1621, ST7735, ST7567, UC1701X and ILI9341-based LCDs
PCD8544, ST7735, ST7567, HT1621, UC1701X, ILI9341 Display Drivers
Python library interfacing LCD displays with the PCD8544, ST7735, ST7567, HT1621, UC1701X and ILI9341 driver using SPI on the Raspberry Pi and other linux-based single-board computers - it provides a Pillow-compatible drawing canvas, and other functionality to support:
- scrolling/panning capability,
- terminal-style printing,
- state management,
- color/greyscale (where supported),
- dithering to monochrome
All modules can be picked up on ebay with a breakout board for a few pounds.
Full documentation with installation instructions and examples can be found on https://luma-lcd.readthedocs.io.
Version 2.0.0 was released on 2 June 2019: this came with the removal of the luma.lcd.aux.backlight class. The equivalent functionality has now been subsumed into the device classes that have a backlight capability.
The MIT License (MIT)
Copyright (c) 2013-2019 Richard Hull & Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Pull requests (code changes / documentation / typos / feature requests / setup) are gladly accepted. If you are intending to introduce some large-scale changes, please get in touch first to make sure we’re on the same page: try to include a docstring for any new method or class, and keep method bodies small, readable and PEP8-compliant. Add tests and strive to keep the code coverage levels high.
The source code is available to clone at: https://github.com/rm-hull/luma.lcd.git
- Thijs Triemstra (@thijstriemstra)
- Dougie Lawson (@dougielawson)
- WsMithril (@WsMithril)
- Peter Martin (@pe7er)
- Saumyakanta Sahoo (@somu1795)
- Philip Howard (@Gadgetoid)
- Ricardo Amendoeira (@ric2b)
- Kevin Stone (@kevinastone)
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size luma.lcd-2.3.0-py2.py3-none-any.whl (13.4 kB)||File type Wheel||Python version 3.7||Upload date||Hashes View|
|Filename, size luma.lcd-2.3.0.tar.gz (10.7 MB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for luma.lcd-2.3.0-py2.py3-none-any.whl