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, ...
The BoolArray class allows the user to instantiate an array of booleans, allocating only one bit per element. For example one could create an array of 1000 throws with a coin. Normally this would take ...