In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: OK Keith; Attached are my revised programs; I did have an error (forgot to clear the shifter when an overrun occurred), and I think it should run now. I can't really prove it because I don't have the appropriate signal source, and it would be a bit of work to write a simulator. And who'se to say the simulator was written correctly. One program is plain, and the other is "sprinkled" with debug flags suitable for scope tracing. (I'm fortunate to have a Tektronix 4 channel 500Mhz 5Gs/s digital phospor scope). Both now have enhanced comments and explanation. Timing between the two is slightly different because of the additional "debug" instructions, but your application is not very time sensistive, so I expect both should run. If either doesn't let me know. Hopefully the debug version will give you the insight you desired to assist that process. If I can do more to help you, just let me know. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=78490#m79336 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)