0

Arduino starts only after a press on reset button with ItsyB
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arduino starts only after a press on reset button with ItsyB

by adafruitition on Thu Nov 08, 2018 10:59 am

Hi,

I like to use the ItsyBitsyM0 Express with an Arduino Sketch (without CircuitPython), in detail I am using PlatformIO to build everything. The program I created works, BUT it does not start automatically after power-on (from e.g. battery). I always have to press the reset button once, then the program starts.

Why? How can I acchieve it, so that the program starts immediately?

adafruitition
 
Posts: 1
Joined: Thu Nov 08, 2018 10:54 am

Re: Arduino starts only after a press on reset button with I

by zener on Mon Nov 12, 2018 12:59 pm

It may help to post your code (in a code box, click [CODE} button above when replaying). There may be something in there that is causing the problem, for example, initializing a serial connection when one is not connected. Others may have a better idea.

zener
 
Posts: 4281
Joined: Sat Feb 21, 2009 2:38 am

Please be positive and constructive with your questions and comments.