Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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);
- }
Advertisement
Add Comment
Please, Sign In to add comment