Created
February 21, 2017 20:36
-
-
Save brenapp/2544655b0c35c41dfbbe05436fdd34b5 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
task autonomous() { | |
int sensor = getRotationalSensor(); | |
while (sensor > 15) { | |
driveForward(); | |
sensor = getRotationalSensor(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment