-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path35B.c
22 lines (22 loc) · 1.84 KB
/
35B.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma config(UART_Usage, UART1, uartVEXLCD, baudRate19200, IOPins, None, None)
#pragma config(UART_Usage, UART2, uartNotUsed, baudRate4800, IOPins, None, None)
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, in1, pPowerExp, sensorAnalog)
#pragma config(Sensor, in2, gyro, sensorGyro)
#pragma config(Sensor, dgtl1, redLED, sensorLEDtoVCC)
#pragma config(Sensor, dgtl2, yellowLED, sensorLEDtoVCC)
#pragma config(Sensor, dgtl3, greenLED, sensorLEDtoVCC)
#pragma config(Sensor, dgtl4, autoMode, sensorDigitalIn)
#pragma config(Sensor, I2C_1, , sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Sensor, I2C_2, , sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Sensor, I2C_3, , sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Motor, port2, intakeBand, tmotorVex393TurboSpeed_MC29, openLoop)
#pragma config(Motor, port3, rightTwo, tmotorVex393HighSpeed_MC29, openLoop)
#pragma config(Motor, port4, flyOneYThree, tmotorVex393HighSpeed_MC29, openLoop, reversed)
#pragma config(Motor, port5, leftOneYThree, tmotorVex393HighSpeed_MC29, openLoop, encoderPort, I2C_3)
#pragma config(Motor, port6, flyTwo, tmotorVex393HighSpeed_MC29, openLoop)
#pragma config(Motor, port7, flyFour, tmotorVex393HighSpeed_MC29, openLoop, encoderPort, I2C_1)
#pragma config(Motor, port8, leftTwo, tmotorVex393HighSpeed_MC29, openLoop, reversed)
#pragma config(Motor, port9, rightOneYThree, tmotorVex393HighSpeed_MC29, openLoop, reversed, encoderPort, I2C_2)
#pragma config(Motor, port10, intakeChain, tmotorVex393TurboSpeed_HBridge, openLoop, reversed)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//