In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotworkshop wrote: Hello Jon, I've been looking at the latest background Serial code (Buf_RX9600.SXB) and was able pull it into my program and am now able to compile it with out errors. At first I had to re-arrange a few of my variables and put some in an array to free up some variable space. I also added checks for the encoder in the Interrupt code and that seems to work great! I have the foreground code displaying the encoder value on the LEDs for testing and can tell it is working. I am using a 20Mhz resonator. This may be a silly question but doesn't the SX/B compiler automatically keep the same interrupt timing since i've specified a 20Mhz resonator? If not is there a better Interrupt rate to use at 20Mhz for the Serial code? 9600 baud is what i'm going to use to talk to the SX48 chip. It was really cool to see a lot of this project working so far and was glad to see that the old encoder board on the robot actually works. It probably hasn't had anything connected to it for at least 20 years... Robert ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=175077#m227673 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)