-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMarkIIIPragma.c
22 lines (21 loc) · 1.74 KB
/
MarkIIIPragma.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, in2, gyro, sensorGyro)
#pragma config(Sensor, in8, indexHigh, sensorLineFollower)
#pragma config(Sensor, dgtl1, encoderError, sensorLEDtoVCC)
#pragma config(Sensor, dgtl2, flywheelEncoder, sensorQuadEncoder)
#pragma config(Sensor, dgtl10, tune, sensorTouch)
#pragma config(Sensor, dgtl11, debug, sensorTouch)
#pragma config(Sensor, dgtl12, encoderTest, sensorTouch)
#pragma config(Sensor, I2C_1, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_2, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Motor, port1, rightWheel2, tmotorVex393TurboSpeed_HBridge, openLoop, reversed)
#pragma config(Motor, port2, flywheel4, tmotorVex393TurboSpeed_MC29, openLoop, reversed)
#pragma config(Motor, port3, rightWheel13, tmotorVex393TurboSpeed_MC29, openLoop, reversed, encoderPort, I2C_1)
#pragma config(Motor, port4, flywheel3, tmotorVex393HighSpeed_MC29, openLoop)
#pragma config(Motor, port5, leftWheel2, tmotorVex393TurboSpeed_MC29, openLoop)
#pragma config(Motor, port6, flywheel1, tmotorVex393HighSpeed_MC29, openLoop)
#pragma config(Motor, port7, flywheel2, tmotorVex393HighSpeed_MC29, openLoop, reversed)
#pragma config(Motor, port8, leftWheel13, tmotorVex393TurboSpeed_MC29, openLoop, encoderPort, I2C_2)
#pragma config(Motor, port9, indexer, tmotorVex393TurboSpeed_MC29, openLoop)
#pragma config(Motor, port10, intake, tmotorVex393HighSpeed_HBridge, openLoop, reversed)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//