Serial.print does not work on Arduino zero

Hi,

I have not found this problem somewhere else.

I have an Arduino Zero, Arduino IDE1.8.7, Ubuntu 18.04.

void setup(){
  Serial.begin(9600);
}
void loop() {
  Serial.println("Hello");
  }

This code does nothing. The monitor stays blank. I have the right port. Tested it with Blink led. This works. I have the same baud rate of 9600 also on the monitor. And it also works with the Arduino Uno.

Does someone knows what could be false?

Thanks

Which port are you using on the Zero. The Native or the programming port.

If you’re using the native port, you have to use SerialUSB.

Check out the Guide for more info. (read the entire thing :wink: )

BTW - The title of your thread says you’re using a UNO. which one is it? Please fix your post/title to reflect which device you have

The title says "Uno", the text says "zero"

AWOL:
The title says "Uno", the text says "zero"

Let's call the whole thing off

Thanks darrob SerialUSB was the answer. That costs me two days ;D

SOLVED

UKHeliBob:
Let's call the whole thing off

:smiley:

UKHeliBob:

AWOL:
The title says "Uno", the text says "zero"

Let's call the whole thing off

heavy-laugh-smiley-32x32.jpg

heavy-laugh-smiley-32x32.jpg