Arduino Opta - Program does not start with DC power supply but with USB

Hello,

I have a problem with the power supply of my Arduino Opta. The Arduino works with a USB-cable attached to it. The program starts and I get my debug messages via serial. But when I connect it to the 24V power supply only the LAN LED blinks but nothing else works. Looks like it is broken. Any other suggestions?

Thanks and best regards

Okay. I am very sorry I was too fast. After I tested the Blink example progam and it worked I got it. The program was waiting for the serial to connect. :man_facepalming:

  //Initialize serial and wait for port to open:
  Serial.begin(9600);
  
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }

should be without the while loop.

Sorry...