Modified the code to support a LED pin (configured for Arduino Pin D2).
This pin goes high at each start of a sweep and goes low after it is done
with the first channel scan.