An example of how to use an array of up to 16 LEDs with single dimentioned effect arrays.
The sketch uses a single 25mS loop duty-cycle and any longer durations are created with counter variables. This makes the sketch architecture non-blocking.
The sketch is broken down into 4 files for easier editing:
| File | Comment |
|---|---|
| LED_EFX_using_bitRead.ino | Contains all the setups and the main loop. |
| patterns.h | Contains the pattern arrays. |
| effect_loops.h | Contains the pattern voids called from the switching. |
| switching.h | Contains timing variables for the different patterns |
Remember that the binary value is read right to left in relation to your LED array
Any Arduino compatible device with 16 digital ports will work and it's 18 ports if you want the buttons


