Controlling Serial Output on the Arduino
Aus DL8RDS Wiki
My next experiment was to send stuff to the serial console back to the computer. Here I tried out some code from the book "Manuel Odendahl, Julian Finn & Alex Wenger. Arduino. Pysical Computing für Bastler, Designer & geeks. O'Reilly, 2009.", page 132 ff.
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println("Hallo");
Serial.println("--------");
delay(1000);
}