Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void launchCompCont() {
- if(!vexRT[Btn7D]) {
- if(vexRT[Btn5U]) {
- LaunchPow(vexRT[Btn6U] * 127 - vexRT[Btn6D] * 127);
- hoodAngle(FULLFIELD);
- } else if(Btn5D) {
- LaunchPow(vexRT[Btn6U] * 127 - vexRT[Btn6D] * 127);
- hoodAngle(POPSHOT);
- }
- } else if(vexRT[Btn7D]) {
- if(currX >= XTHRES && currY >= YTHRES) {
- LaunchPow(42);
- hoodAngle(POPSHOT);
- } else {
- LaunchPow(127);
- hoodAngle(FULLFIELD);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement