/* * This thing is the timer / stopwatch that serves as a crude meterstick. * * ****************** * Julie Powers-Boyle * 20060228 Tues; Programming WS * $Id * ****************** */ import josx.platform.rcx.*; import josx.util.*; public class StopTimer implements TimerListener { public void timedOut(){ // With a precision of 10 milliseconds, this will increment currentTime, // which will serve as a stopwatch. MazeNav.currentTime += 10; MazeNav.chrono.start(); //TextLCD.print(Integer.toString(MazeNav.currentTime)); } }