int counter = 0; void setup() { Serial.begin( 9600 ); delay( 50 ); } void loop() { Serial.print("Count: "); Serial.println( counter++ ); delay( 500 ); }