I am using a pololu pushbutton switch with an arduino and a 12 volt wall adapter. Whenever I attempt to turn the arduino on with the switch and a wire connected from the off pin to pin 13 on the arduino, all of the lights flash and then turn off. If, however, I disconnect from pin 13, turn it on, reconnect 13, everything works like a charm.
There is nothing in my code that references pin 13. I have tried to make pin 13 low in the first line but it doesn’t get that far before turning off.
Any ideas?
Thanks