mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

How to control multiple light strips? #109

Open himajie opened 1 year ago

himajie commented 1 year ago

Now only one instance of LedDriverInterface can be created

mattjlewis commented 1 year ago

It's a while since I've looked at this code - why is it that only one instance of LedDriverInterface can be created? One issue currently is in the WS281x implementation - the close operation shuts down the underlying ws281x native interface (calls WS281xNative.terminate).