Mkr1010 does not restart with external usb power

my mkr1010 will restart when plugged into my pc usb and boot up.
but if i plug it into an external usb power supply it refuses to restart.
even the reset button will not restart it.
i have tried another usb power supply no change.

remove while (!Serial);

Problem fixed
while(!Serial); // this causes Arduino to hang on external usb!!!
solution delete this line of code.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.