This is an alternative approach to the code for the Arduino Twinkle Lights project. You can find a complete project write-up at johnwargo.com. For the original project, I used two strands of lights, ...
SparseArray is an experimental library to implement a one dimensional sparse array of floats (a.k.a. vector) on an Arduino. A sparse array is an array with mostly zeros and a low percentage non-zero ...