Why can't we select a controller button for pneumatics?

Hi, I’m trying to code my GEN 2 controller to add pneumatics. I want to use the button “F up” but I’m unable to select any buttons on the controller. Any help or advice would be highly appreciated.

Your block code does show that you run a sequence after pressing the F Up button.
(generally it’s not a good idea to run a forever loop in an event handler, that is, under the when button pressed hat)

If you are asking why you cannot assign pneumatics in the graphical controller setup, that’s because only motors can be assigned to buttons there.

1 Like

Yes that is what I am asking.

If I can only assign motors to the buttons on the controller is there a way I can run the pneumatics using a controller button? I want to control the lift on my robot with the pneumatics.

Thank you.

1 Like

You already pretty much had the answer.

1 Like

@jpearman

Thanks for the coding advice. I was able to fix it!

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.