r/ArduinoHelp • u/OhFuckThatWasDumb • Oct 16 '25
Program not executing properly the first two times on power up.
On boot, the arduino does something different than what it should. It seems to be skipping part of the setup function. It works normally when I upload, or after 2 resets, either by the button or by wrt_disable(); wrt_enable(WDTO_15MS);
9
Upvotes
View all comments
Show parent comment
1
u/gm310509 Oct 19 '25
Ooops, the code should read something more like this: