#pragma config(Sensor, in1, sensor, sensorReflection)
#pragma config(Sensor, dgtl1, led, sensorLEDtoVCC)
#pragma config(Motor, port1, motor, tmotorVex393_HBridge, openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
task main()
{
startMotor(port1,100);
wait(4);
stopMotor(port1);
}
Comments