Skip to content

Instantly share code, notes, and snippets.

@Aluriak
Created December 19, 2011 09:08
Show Gist options
  • Save Aluriak/1496208 to your computer and use it in GitHub Desktop.
Save Aluriak/1496208 to your computer and use it in GitHub Desktop.
NXC : Infinity
// let's try to go infinity...
int ratio1 = -25;
int ratio2 = 25;
task main() {
RotateMotorEx(OUT_BC, 100, 540*11,ratio1, true, false);
RotateMotor(OUT_BC, 50, 360);
RotateMotorEx(OUT_BC, 100, 540*11,ratio2, true, false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment