Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void rampup(){
- if(spin2==true){
- spin2 = false;
- M1.spin(vex::directionType::fwd,10,vex::velocityUnits::pct);
- }else{
- spin2 = true;
- realgrabstop();
- }
- }
- void rampdown(){
- if(spin2==true){
- spin2 = false;
- M1.spin(vex::directionType::fwd,-10,vex::velocityUnits::pct);
- }else{
- spin2 = true;
- realgrabstop();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement