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)
*********