In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote: Hi Curtis, If this is going to be a battery powered application then you should use the lowest clock speed that works. Guenther Debauch posted a nice curve of power requirements versus clock speed somewhere on this board, and there is a less detailed one in the manual. A first order approximation of this curve is that the SX will draw 1 milliamp per megahertz. What I meant by polling or interrupts is that there are 2 ways for the SX to read an incoming digital signal. You can pipe the signal into a pin on the port B register and wait for a transition from low to high then count the number of clock cycles before the pin drops low again by using the inerrupt function. You could also poll the data line by checking to see if it is high or low at a rate that is much faster than the actual baud rate. If you know for a fact that the pocket PC communicates at 9600 baud then it would probably be easiest to use the "serin" command that's available in SX/B, or at least compile it and look at the assembly code that it generates. Good luck. -Electronegativity ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=125390#m125519 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)