Closed jackjansen closed 3 years ago
I just merged some cleanup with this pull https://github.com/Makuna/NeoPixelBus/pull/511; get the latest and give it a try.
This is really a duplicate of a previous issue https://github.com/Makuna/NeoPixelBus/issues/236
I can confirm that the fix works, thanks!
(for reference for interested parties stumbling on this issue, https://github.com/cwi-dis/lissabon/tree/issue8-dimpixel simply cuts power to the led strip and deletes the NPB when all leds are off, and applies power and re-creates the NPB when any pixels are on. This now works, even with light-sleep)
Describe the bug This bug is related to #501, but #504 doesn't solve it completely.
The
gpio_matrix_out
from #504 now floats the DATA pin if Idelete
the NeoPixelBus, so that is great.But when a create a
new NeoPixelBus()
later because I want to turn the strip on again nothing happens.I think this is because
Esp32_i2s.c
uses some static structures and it thinks it doesn't have to do thegpio_matrix_out()
, not being aware of the fact that the previous call has been undone. But I'm not 100% sure.To Reproduce
new NeoPixelBus()
that uses the esp32 i2s driver.