tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
617 stars 195 forks source link

drivers: add driver for IS31FL3731 matrix LED driver #370

Closed antonfisher closed 2 years ago

antonfisher commented 2 years ago

This PR adds a driver for IS31FL3731 matrix LED driver. Datasheet: https://www.lumissil.com/assets/pdf/core/IS31FL3731_DS.pdf The first version is basic, but functional.

What's implemented:

Supported boards:

Boards can be added in the future versions:

Tests:

Example code works like this: led-driver-0 led-driver-1

deadprogram commented 2 years ago

Thank you @antonfisher for working on this, and thanks @ysoldak for proving all of the feedback/reviews.

I am going to squash/merge now.