This may be useful to some. I wrote a program that will control 3 seperate loops using a PID algorithm while still having enough room left in RAM to run the rest of the robot. I have tested it using Rob's emulator program but not in a real bot.
This program could be used for a 3-Axis arm or maybe steering and a 2-Axis Arm. If you would like to use my code feel free. Please let me know of any bugs or fixes that you find.
Have fun,
Tim Tedrow
The ZIP file with the code is now in the White Paper section.
http://www.chiefdelphi.com/forums/papers.php?s=