CrossRoads:
Need a library for 6 lines of code? Seems like overkill.
no, you are right. But depending on what you want to do, this library might be an option.
It allows you to "target" each leds directly, something like
shifter.setPin(4, HIGH)
that would be for the "4th led on the shifter", the 4th on the chain
or
shifter.setPin(10, HIGH)
to turn on the 2nd led on the second shifter, so the 10th on the chain
...so i guess it would be possible to use it with arrays.
But, like you said, it is kind of overkill.
But it doesn't hurt to know all the possibilities out there, when looking for a solution for something
![]()