In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Herzog wrote: Thanks Peter [pjv], I took a look at your contest code and your style of notation is quite clear - very enjoyable to read. I spent some time today reviewing what I think it would take and an ISR is definetly part of it. I have to capture the beginning and the end of each pulse just to get started, then I have to get the difference. If I cannot restart the timer for each pulse, I have to trap values when the counter rolls over and do a special routine. Then having done that, repeat the process 4 times. And the cycle repeats approxiably every 20 millaseconds [that creates another programing detail to work out]. I don't have a scope and I think I would need 4 inputs anyway [which is too expensive for me]. So I am just hoping that Jen's Autopilot article is right and the 4 pulses come one after another if you keep the inputs straight. Everyone else seems to want to drag me off the topic in RF electronics [away from digital] or into switching to C programing in another piece of hardware. Thanks for the effort, but I am interested in doing this in the SX and SASM and in software. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109161#m109481 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)