|
Re: Need help with joystick.
I typically use OI to Relay and OI to PWMs for buttons. (under RC Control on the Function Block tab in the sidebar)
Most of the instructions in the blocks are self-explanitory, but you just specify the controller port (on the OI), the button for relays (use printf statements to find what buttons correspond to which number if you aren't using the white controller FIRST gives) or the axis for PWMs, the PWM/relay number (on the RC board), and the direction (forward or back for PWMs, for relays, they correspond to on/off - 1/0).
Hope that helps!
__________________
Team 932:
2008 Oklahoma City Xerox Creativity Award
2008 Oklahoma City Autodesk Visualization Award
2008 St. Louis Chairman's Award winner
Home of the 2008 St. Louis Woodie Flowers mentor
2007 Kansas City Engineering Inspiration winner
2006 Lone Star Regional Finalist alliance member
---
A mathmatician, a physicist, and an engineer were all given a red rubber ball and told to find the volume.
The mathmatician carefully measured the diameter and evaluated a triple integral.
The physicist filled a beaker with water, put the ball in the water, and measured the total displacement.
The engineer looked up the model and serial numbers in his red-rubber-ball table.
|