Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. void rampup(){
  2. if(spin2==true){
  3. spin2 = false;
  4. M1.spin(vex::directionType::fwd,10,vex::velocityUnits::pct);
  5. }else{
  6. spin2 = true;
  7. realgrabstop();
  8. }
  9. }
  10. void rampdown(){
  11. if(spin2==true){
  12. spin2 = false;
  13. M1.spin(vex::directionType::fwd,-10,vex::velocityUnits::pct);
  14. }else{
  15. spin2 = true;
  16. realgrabstop();
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement