HTML

SourceFile002.c

Dec 19th, 2017
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #pragma config(Sensor, in1,    sensor,         sensorReflection)
  2. #pragma config(Sensor, dgtl1,  led,            sensorLEDtoVCC)
  3. #pragma config(Motor,  port1,           motor,         tmotorVex393_HBridge, openLoop)
  4. //*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//
  5.  
  6. task main()
  7. {
  8.  
  9.     startMotor(port1,100);
  10.     wait(4);
  11.     stopMotor(port1);
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment