int time = 0;
bool timer = true;
void setup() {
Serial.begin(9600);
}
void loop() {
while (timer) {
Serial.print("Time is: ");
Serial.println(time);
time = time + 1;
delay(1000);
}
}
int time = 0;
bool timer = true;
void setup() {
Serial.begin(9600);
}
void loop() {
while (timer) {
Serial.print("Time is: ");
Serial.println(time);
time = time + 1;
delay(1000);
}
}