Sword:
#pragma config(Sensor, in1, colorSense, sensorAnalog)
#pragma config(Sensor, in2, midFollower, sensorLineFollower)
#pragma config(Sensor, in3, leftFollower, sensorLineFollower)
#pragma config(Sensor, in4, rightFollower, sensorLineFollower)
#pragma config(Sensor, dgtl1, leftFrontSonar, sensorQuadEncoder)
#pragma config(Sensor, dgtl3, leftBackSonar, sensorQuadEncoder)
#pragma config(Sensor, dgtl5, frontLiftSonar, sensorSONAR_cm)
#pragma config(Sensor, dgtl7, frontCenterSonar, sensorSONAR_cm)
#pragma config(Sensor, dgtl9, leftDriveEncoder, sensorRotation)
#pragma config(Sensor, dgtl10, rightDriveEncoder, sensorRotation)
#pragma config(Sensor, dgtl11, colorSet1, sensorDigitalOut)
#pragma config(Sensor, dgtl12, colorSet2, sensorDigitalOut)
#pragma config(Motor, port1, bumperStrafe, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port2, leftDrive, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port3, leftBottomLift, tmotorVex393, openLoop)
#pragma config(Motor, port4, leftTopLift, tmotorVex393, openLoop)
#pragma config(Motor, port5, feed, tmotorVex393, openLoop)
#pragma config(Motor, port6, ramp, tmotorVex393, openLoop)
#pragma config(Motor, port7, rightTopLift, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port8, rightBottomLift, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port9, rightDrive, tmotorVex393, openLoop)
#pragma config(Motor, port10, bootStrafe, tmotorVex393, openLoop, reversed)
Shield
#pragma config(Sensor, in1, colorSense, sensorLineFollower)
#pragma config(Sensor, in2, midFollower, sensorLineFollower)
#pragma config(Sensor, in3, leftFollower, sensorLineFollower)
#pragma config(Sensor, in4, rightFollower, sensorLineFollower)
#pragma config(Sensor, dgtl1, leftDriveEncoder, sensorQuadEncoder)
#pragma config(Sensor, dgtl3, rightDriveEncoder, sensorQuadEncoder)
#pragma config(Sensor, dgtl5, leftArmEncoder, sensorQuadEncoder)
#pragma config(Sensor, dgtl7, rightArmEncoder, sensorQuadEncoder)
#pragma config(Motor, port2, feed, tmotorVex393, openLoop)
#pragma config(Motor, port3, ramp, tmotorVex393, openLoop)
#pragma config(Motor, port4, leftFrontDrive, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port5, rightFrontDrive, tmotorVex393, openLoop)
#pragma config(Motor, port6, leftBackDrive, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port7, rightBackDrive, tmotorVex393, openLoop)
#pragma config(Motor, port8, rightLift, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port9, leftLift, tmotorVex393, openLoop)
No comments:
Post a Comment