int num = 0; // Declare a global variable 'num' and initialize it to 0
void setup () {
Serial.begin(9600); // Initialize serial communication at 9600 bps
Serial.println("Starting to count now..."); // Print a starting message to the serial monitor
}
void loop() {
num = num + 1; // increment 'num' by 1
Serial.println(num); // Print the current value of 'num' to the serial monitor
delay(250); // Wait for 250 milliseconds before the next loop iteration
}