Created
December 19, 2011 09:12
-
-
Save Aluriak/1496237 to your computer and use it in GitHub Desktop.
NXC : Tom
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
void carre(int dist) { | |
int i; | |
for(i=0;i<4;i++){ | |
RotateMotor(OUT_BC, 75 ,360*dist); // fait avancer le shmilblick en faisant rotater les deux bousins | |
RotateMotorEx(OUT_BC,75,540,-100, true, false); // fait tourner le bousin | |
} | |
} | |
task main() { | |
carre(1); | |
carre(2); | |
carre(3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment