In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I happen to have a project coming up (March N&V column) that requires a real-time clock and an LCD interface, and as I believe that working on things in discrete chunks is best I've put together the program that's attached. The program combines a 4-bit LCD interface that I wrote a few months ago with a software RTC. The program is SX/B but uses assembly for the interrupt to keep everything as swift as possible. The RTC uses BCD format like popular silicon RTCs (e.g., DS1302, etc) which makes output of the timer values pretty easy. The program is happily running on my PDB at the moment. Take this code and John C's good advice from the response above and create your stopwatch. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=311402#m311867 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)