IS31FL3731 (scroll_hat v0.1.0) View Source
Integration for the IS31FL3731 I2C LED Driver
Link to this section Summary
Functions
Display the specified frame
Set the LEDs settings for the specified frame
Set the confifuration mode of the driver
Set software shutdown or normal operation
Link to this section Types
Link to this section Functions
Specs
Display the specified frame
In picture mode, this will display the specified frame according to the settings for that frame stored in memory
Set the LEDs settings for the specified frame
This would be used to set LED's on/off, LED blink state, and the PWM of each LED and requires the bytes to be formatted already according to tables 3-6 in the IS31FL3731 datasheet.
Set the confifuration mode of the driver
Supported modes: 0x00: Picture 0x01: Auto frame play 0x02: Audio frame play
The third argument is only used to set the starting frame when using Auto frame play mode.
Specs
Set software shutdown or normal operation
modes: 0 -> shutdown 1 -> normal operation