stop method

void stop()

Stops clock and sets page:Clock.oldTime oldTime to the current time.

Implementation

void stop() {
  getElapsedTime();
  running = false;
  autoStart = false;
  fps = 0;
}