In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote: Sounds like a good project, but you really don't need to run the ISR at all. Why not just enable the RTCC to increment every clock cycle and use whatever value it is at when the button is pushed to seed the generator? Even at 1 MHz it will roll over 4000 times per second. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=167121#m167396 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)