Arduino Multiplexing Code Issue
Here is the code:
I'm having two issues. First, the switch case doesn't appear to be working. I've monitored the pot input but there is no response from the LEDs. The second is with the for loops that are suppose to run the blinking. I know the loop on the inside will hold a pattern but in test code, without the pot, but adding the outside loop to step through the pattern array breaks it and the LEDs don't respond. Is the for loop running to fast to respond but not fast enough for POV? do I need a third loop that repeats each position but wouldn't that break the POV for the other LEDs? Or is there some stupid error I'm missing?