timer.ino 235 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 void elapsed(){ //not used for now unsigned long over; m = int(elapsedTime / 60000); over = elapsedTime % 60000; s = int(over / 1000); ms = over % 1000; } int elapsedt(int startedTime){ return millis() - startedTime; }