|
Interfacing a PC with last year's Robot Controller
Hi all,
On this project that our team is working on to build a robot for a museum, we have connected a PC onboard with the RC from last year, running PBASIC, through the program port on the RC. Sean from Team 116 wrote a program for us that runs on the computer, which looks for serial data from the RC, and plays a track according. I have the following code:
IF picturedetected THEN
SEROUT 16, N19200, [picnumber]
ENDIF
The program on the computer looks for the pic number and plays a track corressponding to the pic number.
However, it is not working!!! As soon as I start runniing the porgram on the comp, the controller gives me a BasicRunError.
Has anyone ever interfaced a PC with a Robot Controller before. If so, please help us because we are in a serious crunch.
Thanks a lot
__________________
Punar Sikka
Clark Magnet Robotics
Team 696
www.team696.org
|