programming joystick buttons

I’ve already made a program with basics for the team robot, We try to test it, the Joystick axis x and y work well, but button 1 which is programmed for the cannon didnt work, i connect Isochronous terminal with the unbundle by name, connected in buttons terminal in joystickget with an indicator of T/F
the three together, and didnt work, what do i have to do??

I couldn’t make out exactly what you are trying to accomplish but this is what I got out of it…

  1. You have a button, in this case button one or on a joystick usually the trigger, which is supposed to shoot a cannon.
  2. You’ve stated that you have connected the button up to a true/false indicator and when you run code it doesn’t work?

I would assume that your joystick is bad… Although that is pretty rare…

Here’s a basic Joystick button layout.

If you are looking to light up an LED, replace the case structure with a boolean indicator.

Capture.JPG


Capture.JPG