void setup() { // start serial communication Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); // write the state to the screen Serial.println("LED on"); delay(1000); digitalWrite(13, LOW); // write the state to the screen Serial.println("LED off"); delay(1000); }