Archived source flow
Technical notes
Switch mapping
With pull-up inputs, only the up throw active selects yellow and only the down throw active selects blue. Both active or both inactive resolve to off.
Mode-change gate
A new mode is accepted only after more than 25 ms have passed since the previous accepted change. This limits the rate of accepted changes; it does not require the input to remain stable for 25 ms.
Static output
setAll() writes one selected colour to the configured pixels and calls show(); off clears the strip and shows the cleared buffer. The stored LED_COUNT is 1 and must be configured for the intended strip. There are no animation sequences in this source.
Evidence limits
The source header and original IDE view identify the Nano target and NeoPixel setup. The IDE view has no discovered port; compilation, upload and hardware operation are unverified.