int seconds;
int VARIABLE2 = 1;
int minutes=0;
int hours =0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
//Serial.println(seconds);
// seconds++;
Serial.print("SECONDS ");
Serial.print(seconds);
Serial.print("\t");
Serial.print("MINUTES ");
Serial.print(minutes);
Serial.print("\t");
Serial.println(VARIABLE2);
Serial.print("HOURS ");
Serial.print(hours);
Serial.print("\t");
//Serial.println(VARIABLE2);
if(seconds==60){
minutes++;
seconds=0;
}
if(minutes == 60){
hours++;
minutes=0;
}
seconds++;
delay(1000);
}