Code not running with power supply - has to be uploaded everytime

Hi @kentclub,

Make sure you remove the following line, otherwise the sketch will wait for the IDE to open the serial port:

while (!Serial) {};