xoseperez / my92xx

MY9291 and MY9231 LED driver library for Arduino AVR and ESP8266
GNU General Public License v3.0
37 stars 11 forks source link

LEDs stay dark with a bit length > 8 on ESP-01 #4

Closed kduve closed 6 years ago

kduve commented 6 years ago

Hi, thanks for this lib! You should change digitalWrite(_pin_di, (data & mask)); to digitalWrite(_pin_di, ((data & mask)?HIGH:LOW)); when using a bit length > 8 on ESP-01 (ESP8266).

At least that fixed the problem for me. Best K

xoseperez commented 6 years ago

Thank you, fixed with new release.