I would check that the wheels are actually hooked up to pwms 1 and 2 (don't laugh I've done this), and whether the code is actually running, i.e. the the robot is in operator mode and is enabled.
You could also try a simpler loop
Quote:
void OperatorControl (void )
while(1)
{
printf("hello");
}
|
If you hook your computer up to the robot, and leave it attached when you run it, this should show something (make sure the terminal window isn't in GD mode)
Yes, the data processing function is the operator control mode where you put this code, and it is called automatically from Main(); so you should be good.
P.S. Also, I program in EasyC and have never had any problems with infinite loops for testing purposes.
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major
"All we have to decide is what to do with the time that is given to us." - Gandalf