int seconds =0;
int minutes= 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.print("seconds:");
Serial.println(seconds);
if (seconds == 10){
seconds=0;
minutes++; // minutes will be incremented by 1
Serial.print("Minutes");
Serial.println(minutes);
}
seconds++;
delay(1000);
//seconds = seconds+1;
}