Cleaned up code and allowed the option to print the sensor value
Added ability to set whether the LEDs should only be triggered once per step
Revert 25796f5..11ec56e

This rolls back to commit 25796f500dbf83f87300c12e9940bec93c2cc018.
Fixed bug where LEDs were not changed to the correct colors when mid-cycle into rainbow mode.