Skip to content

Instantly share code, notes, and snippets.

@matael
Created December 16, 2011 09:46
Show Gist options
  • Save matael/1485377 to your computer and use it in GitHub Desktop.
Save matael/1485377 to your computer and use it in GitHub Desktop.
Code infinity CR
// 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