Skip to content

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs

License

Notifications You must be signed in to change notification settings

rm-hull/luma.lcd

 
 

Repository files navigation

luma.core | luma.docs | luma.emulator | luma.examples | luma.lcd | luma.led_matrix | luma.oled

Luma.LCD

PCD8544, ST7735, HT1621, UC1701X, LS013B4DN04 Display Drivers

https://travis-ci.org/rm-hull/luma.lcd.svg?branch=master https://coveralls.io/repos/github/rm-hull/luma.lcd/badge.svg?branch=master Documentation Status

https://img.shields.io/maintenance/yes/2018.svg?maxAge=2592000

Python library interfacing LCD displays with the PCD8544, ST7735, HT1621, UC1701X and LS013B4DN04 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.

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/pcd8544.png

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/st7735.jpg

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/ht1621.jpg

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/uc1701x.png

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/ls013b4dn04.jpg

Documentation

Full documentation with installation instructions and examples can be found on https://luma-lcd.readthedocs.io.

License

The MIT License (MIT)

Copyright (c) 2013-18 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.