I have an uploaded a program that uses analog input and output. The program won't run unless I open the serial monitor, this is problematic because I'd love to run it off of separate power supply away from my laptop. What is going on?
Hi,
you probably have a
while (!Serial) {}
snippet somewhere, which stops execution until the serial monitor gets opened.
Remove it and you are done!