I have some problem with my soleinoid program . I'd like to have 2 buttons from the joystick controlling it. Could somebody please show a program example ?
Have you taken a look at the examples yet? I'd suggest you look at the solenoid and joystick examples. Combine the ideas of those, and then attach your code if you don't get it working.