In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Gary Watson wrote: [3]I am trying to get, store and retrieve lap times down to the thousand[/3] [3]of a second on a two lane slot car track. Maybe store 5 fastest times[/3] [3]for each lane. A good lap is a little under 10 seconds.[/3] [3] [/3] [3] Button1:[/3] [3] Enter number of laps of race[/3] [3] Ready set go:[/3] [3] Car 1 and 2 trigger sensors[/3] [3] Clock starts for each lane[/3] [3] End of laps:[/3] [3] Store time with lap number for each[/3] [3] Decrement lap counter for each[/3] [3] Display on LED/LCD[/3] [3] Audible tone if fastest of race[/3] [3] End of race button2:[/3] [3] Toggle though 5 fastest laps[/3] [3] Displaying on LED/LCD[/3] [3] Button3:[/3] [3] Clear memory[/3] [3] Goto Button1[/3] [3] [/3] [3] Any help would be much appreciated[/3] [3] Thank you, Gary[/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] [3] [/3] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=86665 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)