Closed jamesrusso closed 5 months ago
I've opened this: https://github.com/adafruit/Adafruit_Blinka/issues/378
I've created PR #99 to resolve this along with https://github.com/adafruit/Adafruit_Blinka/pull/379 on the NeoPixel module.
@tannewt it sounds like the underlying issue here was solved in another way, but just wanted to check.
@tekktrik I have no context. Are you suggesting I close this?
As the original opener, I think this was closed as it was discussed in upstream issue and work around was determined
@tannewt yes, sorry. I was looking at open issues and saw this and thought it might be considered closed, but wasn't entirely sure.
Ok thank you both!
The neopixel_cleanup from the underlying neopixel_write module method should be called on deinit(). Without this call it is not possible to change the pixel lengths in the same process. The neopixel_cleanup method is called atexit, but it is likely desirable to have it just happen on the deinit method.
Ex:
The LEDs will never turn WHITE in this example:
This will likely require an upstream change to adafruit Blinka, as the neopixel_cleanup method is not exposed in the non-board specific python file.