void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
long int t1 = millis()/1000;
int minutes = 0;
// if(t1 % 60 == 0) {
// minutes+1;
// }
Serial.println(t1 % 60);
}