用于驱动基于PCD8544、HT1621、ST7735、ST7567和UC1701X的LCD的库

luma.lcd的Python项目详细描述


luma.coreluma.docsluma.emulatorluma.examples luma.lcdluma.led_matrixluma.oled

luma.lcd

pcd8544、st7735、st7567、ht1621、uc1701x显示驱动程序

https://travis-ci.org/rm-hull/luma.lcd.svg?branch=masterhttps://coveralls.io/repos/github/rm-hull/luma.lcd/badge.svg?branch=masterDocumentation Statushttps://img.shields.io/pypi/pyversions/luma.lcd.svghttps://img.shields.io/pypi/v/luma.lcd.svghttps://img.shields.io/maintenance/yes/2019.svg?maxAge=2592000

与PCD8544、ST7735、ST7567、HT1621的LCD显示器接口的Python库 和uc1701x驱动程序,在覆盆子pi和其他基于linux的系统上使用spi 单板电脑-它提供一个枕头兼容的绘图画布,和 要支持的其他功能:

  • 滚动/平移功能,
  • 终端式打印,
  • 国家管理,
  • 颜色/灰度(如果支持),
  • 抖动为单色

所有的模块都可以在ebay上使用一个突破板,花费几磅。

https://raw.github.com/rm-hull/luma.lcd/master/doc/images/pcd8544.pnghttps://raw.github.com/rm-hull/luma.lcd/master/doc/images/st7735.jpghttps://raw.github.com/rm-hull/luma.lcd/master/doc/images/ht1621.jpghttps://raw.github.com/rm-hull/luma.lcd/master/doc/images/uc1701x.png

文件

有关安装说明和示例的完整文档,请参见 https://luma-lcd.readthedocs.io

破坏性变化

版本2.0.0于2019年6月2日发布:删除 luma.lcd.aux.backlight类。等效功能现在 已归入具有背光功能的设备类。

许可证

麻省理工学院许可证(MIT)

版权所有(c)2013-2019 Richard Hull&Contributors

兹免费准许任何人取得副本 本软件和相关文档文件(“软件”)的 在软件中不受限制,包括但不限于 使用、复制、修改、合并、发布、分发、再授权和/或出售 软件的副本,并允许软件的用户 在满足以下条件的情况下,可以这样做:

上述版权公告及本许可公告须包括在 软件的拷贝或大部分。

本软件按“原样”提供,无任何形式的保证,明示或 默示的,包括但不限于适销性保证, 为某一特定目的而健身。在任何情况下 作者或版权所有者应对任何索赔、损害或其他 责任,无论是在合同诉讼、侵权诉讼或其他诉讼中, 不属于或与本软件有关,或使用或与本软件的其他交易有关。 软件。

贡献

拉取请求(代码更改/文档/输入错误/功能请求/设置) 被欣然接受。如果你打算引进一些大规模的 更改,请先联系以确保我们在同一页上:尝试 包括任何新方法或类的docstring,并保持方法体小, 可读且符合PEP8。添加测试并努力保持代码覆盖率 水平高。

Github

源代码可在以下位置克隆:https://github.com/rm-hull/luma.lcd.git

贡献者

  • thijs triemstra(@thijstriemstra)
  • 道格·劳森(@dougie lawson)
  • wsmithril(@wsmithril)
  • 彼得·马丁(@pe7er)
  • 沙木香(@somu1795)
  • 菲利普·霍华德(@gadgetoid)

变更日志

VersionDescriptionDate
2.0.0
  • Rework namespace handling for luma sub-projects
2019/06/16
2.0.0
  • BREAKING CHANGES: Removal of ^{tt1}$ class
  • Device classes now incorporate backlight capability
2019/06/02
1.1.1
  • Add support for 160x80 display size for ST7735
  • Minor documentation updates
2019/03/30
1.1.0
  • Add ST7567 Monochrome LCD display driver (courtesy of @Gadgetoid)
  • Change HT1621 tests
  • Update dependencies
2018/09/07
1.0.3
  • Changed version number to inside ^{tt3}$
2017/11/23
1.0.2
  • Documentation and dependencies updates
2017/10/30
1.0.1
  • Update dependencies
2017/09/14
1.0.0
  • Stable version
  • Remove deprecated methods
2017/09/09
0.5.0
  • Add UC1701X Monochrome LCD display driver
2017/06/11
0.4.1
  • luma.core 0.9.0 or newer is required now
2017/04/22
0.4.0
  • Add HT1621 seven-segment driver
2017/04/22
0.3.3
  • Add deprecation warning for bcm_LIGHT
2017/03/14
0.3.4
  • Add support for 128x128 display size for ST7735
  • Implement horizontal and vertical offsets (for ST7735)
  • Make backlight configurable as active high or active low
2017/04/17
0.3.3
  • Add deprecation warning for bcm_LIGHT
2017/03/14
0.3.2
  • Raise ^{tt4}$ if RPi.GPIO is not available
2017/03/08
0.3.0
  • Add ST7735 Color TFT LCD display driver
  • Removed width and height parameters from device constructors
  • BREAKING CHANGES: Move backlight class to different package
2017/03/05
0.2.3
  • Allow PCD8544 driver constructor to accept any args
2017/03/02
0.2.2
  • Restrict exported Python symbols from ^{tt5}$
2017/03/02
0.2.1
  • Bugfix: Backlight didn’t switch off properly
  • Add tests
2017/01/23
0.2.0
  • BREAKING CHANGES: Package rename to ^{tt6}$
2017/01/13
0.0.1
  • Bit-bang version using wiringPi
2013/01/28

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如何从java中链接到数组的数组中删除值。jar文件?   性能记录屏幕Java磁盘速度   java Elastic APM Tomcat zip文件或JAR清单丢失   java无法在eclipse控制台上打印结果   java如何在Android中解析json对象?   java如何更改边缘根类型   java根据一些规则替换EditText中的字母   java项目反应器:是否有类似Nosideeffect finally的方法(不是sideeffect方法doFinally)   java连接Cassandra节点和spark   开源Java作业调度器:远程处理、负载平衡、故障切换、依赖DAG?   使用矢量汇编程序(Java)在Spark中设置输入和输出时出现问题   swing如何在Java中为文本字段创建右键单击菜单?   java查找最近的邻居/纬度和经度   java计算完成的数独板的行和列