In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote: No matter what processor you use, interrupts will have an effect on timing sensitive instructions like SERIN/SEROUT. If one is a clever code writer -- like our pal, Bean -- you can construct the ISR such that it always runs the same number of cycles and therefore allows the SERIN/SEROUT to be compensated for those "borrowed" cycles. In the projects section Bean posted a PWM driver that uses a compensated SERIN instruction to deal with the interrupt timing. The PINK module is very new, and so far I'm not aware of any SX applications using it. That said, with SX/B one could probably port the BASIC Stamp code without too much difficulty. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=98532#m98717 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)