From 66a676688e809b935b0f737d7d1cbba95f0afce5 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Wed, 10 Apr 2019 20:03:37 -0500 Subject: [PATCH] Update 'main.c' --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index a48187e..02cef8b 100644 --- a/main.c +++ b/main.c @@ -111,13 +111,13 @@ void joystickDrive() { void buttonChecks() { if (vexRT[Btn5U] == 1) { - motor[bintake] = MAX_SPEED; + ballIn(); } else if (vexRT[Btn5D] == 1) { - motor[bintake] = -MAX_SPEED; + flipOn(); } else { - motor[bintake] = STOP; + ballOff(); } if (vexRT[Btn8D] == 1) { shootBall();