Something that may or may not be a solution has occurred to me. If I purchased a three position switch, could I then set up the switch to be in the off position, the on position, and the fade position, 1,2,3? Not sure if switches work this way, but if so, then I wouldn't have to write any code. I could have the switch just open and close the circuit for off/on, and then the third position for the switch would enable the microcontroller programmed with the fade.
Possible? Thank you in advance!!