Quote:
Originally Posted by sthreet
Hmm... now that i understand what you mean by DIO pins better i can check that; so pins are the little box thingies?
|
No. Pins are metal pointy things that you physically attach wires to in order to bring signals and power to electrical components. The DIO pins are a long block of pointy metal bits sticking up near one edge of the Digital Sidecar. They come in sets of three, with +5 volts on the center pin, power return (-) on one of the side pins, and a signal (SIG) on the other side pin.
Your code is reading two of them. What is physically connected to those DIO pins on the Digital Sidecar? What are they supposed to make the robot do?
Quote:
|
The open and close and get for the controller... The VI's... (sorry for use of pronouns)
|
Gamepads are HID inputs. They are treated just like joysticks by the Driver Station. Use the same VIs that you'd use for a joystick.