Commit 5187681ca0f06cd71533ab5557c0830ff2310a5f

Authored by msekar
1 parent c7045e25

Calculate elapsed time

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
timer.ino 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +void elapsed(){ //not used for now
  2 + unsigned long over;
  3 + m = int(elapsedTime / 60000);
  4 + over = elapsedTime % 60000;
  5 + s = int(over / 1000);
  6 + ms = over % 1000;
  7 +}
  8 +
  9 +int elapsedt(int startedTime){
  10 + return millis() - startedTime;
  11 +}
0 12 \ No newline at end of file
... ...