Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mactijn/micropython-wemos-led-matrix-shield
This is a driver + example code for the Wemos D1 Mini LED Matrix Shield
https://github.com/mactijn/micropython-wemos-led-matrix-shield
esp32 esp8266 micropython wemos-d1-mini wemos-shield
Last synced: about 1 month ago
JSON representation
This is a driver + example code for the Wemos D1 Mini LED Matrix Shield
- Host: GitHub
- URL: https://github.com/mactijn/micropython-wemos-led-matrix-shield
- Owner: mactijn
- Created: 2017-09-15T21:28:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T08:33:09.000Z (about 7 years ago)
- Last Synced: 2024-04-22T12:34:14.672Z (8 months ago)
- Topics: esp32, esp8266, micropython, wemos-d1-mini, wemos-shield
- Language: Python
- Homepage: https://wiki.wemos.cc/products:d1_mini_shields:matrix_led_shield
- Size: 1.95 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpython - micropython-wemos-led-matrix-shield - Driver for Wemos D1 Mini Matrix LED shield, using TM1640 chip. (精选驱动库 / 显示类)
- awesome-micropython - micropython-wemos-led-matrix-shield - Driver for Wemos D1 Mini Matrix LED shield, using TM1640 chip. (Libraries / Display)
README
# Wemos D1 Mini Matrix LED shield driver for micropython
## Introduction
This is an implementation of the driver for the Wemos D1 Mini
Matrix LED shield, which utilizes the TM1640 chip by Titan Micro.It implements a weird protocol, which reminds both of I2C and SPI
but is not compatible with either. This is why we bitbang.This code has been optimized for use with the Matrix LED
shield by Wemos. It has been tested on a Wemos D1 Mini and
an MH-ET Live MiniKit, using micropython 1.9.2.Protocol implementation was derived from Wemos'
[own implementation](https://github.com/wemos/WEMOS_Matrix_LED_Shield_Arduino_Library/) of the driver for Arduino.## Functionality
- Modify the state of individual pixels
- draw an 8x8 bitmap
- set the brightness### Animations
Animation functions are in a separate class. These will allow
you to define a simple multi-frame animation.## Usage
Please see `example.py` for example usage.