serial monitor does not work

Hi,

i am new to arduino and have no experience in programming. I hope you can help me.

I´m using the ShieldBuddyTC275 from Hitex and I tested a few programms (different LEDs, buttons and a Programm for 37D Metal Gearmotor from Pololu). Everything is working exept of the serial monitor.

I tried this code to test, if the serial monitor is working:

void setup() {
// put your setup code for core 0 here, to run once:
Serial.begin(9600);
Serial.println("Hello World");

}
void loop() {
// put your main code for core 0 here, to run repeatedly:

}

I choosed 9600 Baud in the serial monitor, but the serial monitor is always empty.

What am I doing wrong?

What am I doing wrong?

The print from setup() is probably happening before the Serial interface is ready

Try

void setup() {
  // put your setup code for core 0 here, to run once:
   Serial.begin(9600);
   while(!Serial);  //wait for Serial to be ready
   Serial.println("Hello World");
}

Does printing in loop() work ?

I tried your code, but unfortunately it does not work.

In loop() printing is not working either.

The serial monitor is still empty.