int cnt = 0; // the setup routine runs once when you press reset: void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } // the loop routine runs over and over again forever: void loop() { cnt ++; // print out the string Serial.print("Hello from Arduino! Counter: "); Serial.println(cnt); //Counter and next line delay(1000); // delay }