Created
March 12, 2019 05:56
-
-
Save ringodin/a94516bbd74365b29a518fcce19b3461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma config(Sensor, port9, bumpSwitch, sensorVexIQ_Touch) | |
#pragma config(Motor, motor1, leftMotor, tmotorVexIQ, openLoop, encoder) | |
#pragma config(Motor, motor6, rightMotor, tmotorVexIQ, openLoop, reversed, encoder) | |
task main() | |
{ | |
// Loop Forever | |
while (true) | |
{ | |
// Drive Forward By Left and Right Motors To 50% Power | |
// Do Nothing While Waiting For Touch | |
// This takes a while loop | |
//Once Touch Sensor Is Pressed Stop Both Motors | |
//Back up 1 Rotation | |
// Turn 100 Degrees To The Left | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment