|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Assigning Joystick buttons....
Posted by Bradford Stephens at 2/16/2001 9:36 PM EST
Student on team #351, Robomon All-Stars, from Clay High School and Iluka Resources, Inc. Hello! This is my first year in the competition, and my team's second. I'm the programmer, and am pretty handy with QBASIC. However, I took one look at this code and am totally boggled. I've been trying to tech myself how it works but have had no luck. I need to program several things, including two limit switches for our forklift, a compressor automatic shutoff, and more. None of these do I have the slightest clue how to wire to the digital input ports. Or program, for that matter. But my most pressing need is this: we're using a two joystick drive system. This gives me four buttons to work with, because I don't really know how to wire additional toggle switches to the Op Interface ports (what pins do I put them on and how do I read the pin states?)... anyway, I want the front trigger of my first joystick to control Relay 1 (click it once and it stays on, click it again and it stays off). I want the top trigger to control Relay 2 the same way, the front button on my 2nd joystick to control relay 3, and the top button oon it to control relay 4. How do I go about programming this? Infinite Thanks in Advance!!! ![]() ********* (t8r on) ********* |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fried program slots? | Jeff Waegelin | Programming | 18 | 19-03-2003 18:08 |
| question about one joystick drive programing | james700 | Programming | 13 | 29-01-2003 14:49 |
| robot goes haywire with the one joystick default code | Miles | Programming | 7 | 24-01-2003 14:58 |
| joystick problem | archiver | 2000 | 12 | 23-06-2002 23:08 |
| switching joystick axis????? | team222badbrad | Technical Discussion | 9 | 16-01-2002 23:07 |