I’m wiring up a NeoPixel RGB ring with 16 Pixels to an IO Expander on a Breakout Garden, and I’m a bit unsure about how to code it up. Is it even possible?
I have the signal connected to Pin 1 on the IO Expander (and obviously power and ground also on the corresponding pins).
Pi > Python
or
Pico > Micro python?
Sorry, on a Pico 2. I am indeed using Micropython. My question - more precisely now - is about whether I can use the neopixel library in conjunction with the breakout_ioexpander library ad if so, how.
I don’t have an answer for that. I did some poking around but didn’t find anything relevant. I have some LED strips here but use the Plasma Stick to drive them. I also have an IO Expander but haven’t tried anything like you want to do. Just curios as to why your using the IO Expander to drive the LED’s?
Was just trying to get around having to solder extra headers onto the Breakout Garden and had the IO Expander laying around. But in the end I did solder headers on it, which solves the problem. And in the process I realised I probably wanted/needed a shield with screwgate terminals instead for this project. Thanks for looking into it!
Ah, OK, that answers that. I do a lot of mockups and testing with Breakout Garden hats etc. Finished build is almost always a soldered in place setup.