So I'm having a hard time trying to figure out why my code isnt working properly.I want that when I press button 3 on joystick 1 it would give a output of 0.75 to the motor connected to pwm 3. It works properly but I thought I programmed it that when u press again(Button 3) it would turn off. So pretty much I want Button 3 to be like a motor on and off switch. Im really stuck and cant figure out why the shooter wont turn off when I press it again. Thxs any help would be greatly appreciated
