1
0
Fork 0

led_matrix works now

This commit is contained in:
skullY 2019-01-26 21:25:59 -08:00 committed by skullydazed
parent bf2670601d
commit 6b74dd6de5
7 changed files with 45 additions and 39 deletions

View file

@ -158,12 +158,7 @@ void IS31FL3731_init(uint8_t addr) {
// enable software shutdown
IS31FL3731_write_register(addr, ISSI_REG_SHUTDOWN, 0x00);
// this delay was copied from other drivers, might not be needed
// FIXME: Don't we have a wrapper for this already?
#ifdef __AVR__
_delay_ms(10);
#else
wait_ms(10);
#endif
// picture mode
IS31FL3731_write_register(addr, ISSI_REG_CONFIG, ISSI_REG_CONFIG_PICTUREMODE);