Getting started with PROS

Hi,

I’m just getting started with VEX and PROS. I think I’ve gotten through all the documentation available to me, but seem to have hit an wall. I’ve built a clawbot, initially had with working fine controlled from the joystick with default code. I then installed PROS and wanted to start some basic programming. With the USB cable I’m pushing the following simple code to the controller:

auto.c

void autonomous() {
int x = 0;
while ( x < 5 ) {
printf(“setting motor6 to 1\n”);
motorSet(6,1);
delay(500);
printf(“setting motor6 to 0\n”);
motorSet(6,0);
delay(1500);
x++;
}
}

opcontrol.c

void operatorControl() {

printf("going into auto mode\n");
autonomous();
printf("going done auto mode\n");

}

All other files are unmodified from their defaults. I CTRL-B to build and F7 to upload.

In my terminal window, I see the printf text fly by, but see no action from my robot.

Any hints regarding what I might be missing?

Thanks

Never mind. I gave up too quickly. “1” for 500 msec was apparently too low of a setting. Increasing it to “50” power did the trick.

You need to send larger values to the motors, +127 is full speed.