-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDummy.c
executable file
·33 lines (27 loc) · 1.3 KB
/
Dummy.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma config(Hubs, S1, HTMotor, HTMotor, HTServo, none)
#pragma config(Sensor, S1, , sensorI2CMuxController)
#pragma config(Motor, motorA, green, tmotorNormal, openLoop)
#pragma config(Motor, motorB, yellow, tmotorNormal, openLoop)
#pragma config(Motor, motorC, red, tmotorNormal, openLoop)
#pragma config(Motor, mtr_S1_C1_1, right, tmotorNormal, openLoop, encoder)
#pragma config(Motor, mtr_S1_C1_2, whacker, tmotorNormal, openLoop)
#pragma config(Motor, mtr_S1_C2_1, left, tmotorNormal, openLoop, reversed, encoder)
#pragma config(Motor, mtr_S1_C2_2, intake, tmotorNormal, openLoop)
#pragma config(Servo, srvo_S1_C3_1, grab, tServoStandard)
#pragma config(Servo, srvo_S1_C3_3, hopper1, tServoStandard)
#pragma config(Servo, srvo_S1_C3_4, hopper2, tServoStandard)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
/* $Id$ */
#include "Autonomous.h"
#include "JoystickDriver.c" //Include file to "handle" the Bluetooth messages.
/**
* Do nothing.
*/
task main()
{
initializeRobot();
// Wait for the beginning of autonomous phase.
waitForStart();
StartTask(prettyLights);
wait1Msec(30000);
}