Robot C autonomous from PC

I’m new to Robot C and VEX and am trying to write, compile, download, programs to my cortex. I can do it fine with the USB plugged to my PC. I want to compile and download the program to the cortex, but then unplug it, set the bot on the floor and then execute the program without the cortex connected to the PC.

Can I accomplish this without the LCD or programming hardware kit? Can I accomplish this with just the LCD? Can I do this by using the touch sensor as a start button?

I’ve been reading the Robot C help files but haven’t found anything useful.

Thanks -

I’m sorry I figured it out. I don’t need any additional equipment.

task main()
{
while(1==1)
{
if (vexRT[Btn8U] == 1)
{
motor[rightMotor] = 127;
motor[leftMotor] = 127;
wait1Msec(10000);
}
else
{
motor[rightMotor]=0;
motor[leftMotor]=0;
}
}

}

How can I delete a post?