So I am having what I believe to be a weird problem, the Metro M0 only runs sketch when connected to computer. When connected to DC power nothing, USB to a wall, still nothing. But plug it into a computer with USB, do nothing but have Arduino open bingo it works, we are not reloading the sketch, just monitoring serial com and it's all aces.
Do I need to boot load the sketch? It is kind of frustrating because there is no reason I can see why the sketch shouldn't run otherwise.
Metro M0 only runs sketch when connected to computer
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- cdwille
- Posts: 9
- Joined: Thu Jul 18, 2013 11:54 am
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M0 only runs sketch when connected to computer
Are you using Serial? With something like this near the start of setup?
If so, it's sitting there waiting for a serial connection that never happens.
Dave
Code: Select all
while (!Serial);
Dave
- cdwille
- Posts: 9
- Joined: Thu Jul 18, 2013 11:54 am
Re: Metro M0 only runs sketch when connected to computer
I will comment that out re-upload when I can and see if that does it thanks.
- cdwille
- Posts: 9
- Joined: Thu Jul 18, 2013 11:54 am
Re: Metro M0 only runs sketch when connected to computer
That fixed it THANKS!!!
Please be positive and constructive with your questions and comments.