View Full Version : Programming the second joystick in PBASIC
archiver
24-06-2002, 00:25
Posted by Will Korinek at 2/7/2001 8:40 AM EST
Student on team #646, Mechanical Animals, from Sayville High School and Computer Associates.
Hi just wondering how to go about getting the second joystick to make a pwm go up or down, and the trigger and thumb buttons work as relays.
thanks,
Will Korinek
646 Mechanical Animals
archiver
24-06-2002, 00:25
Posted by Eric Reed at 2/7/2001 3:57 PM EST
Coach on team #481, NASA Ames / De Anza High School, from De Anza High School and It could be you!.
In Reply to: Programming the second joystick in PBASIC
Posted by Will Korinek on 2/7/2001 8:40 AM EST:
: Hi just wondering how to go about getting the second joystick to make a pwm go up or down, and the trigger and thumb buttons work as relays.
: thanks,
: Will Korinek
: 646 Mechanical Animals
It's already there. Joystick one controls PWM1, Joystick 2 PWM2, etc. through 4. Similarly, the buttons are already programmed to the relays. I think the trigger on joystick one sends relay one forward, and the thumbswitch sends relay one reverse...but that might be backwards.
Good Luck,
Eric
Team 481
archiver
24-06-2002, 00:25
Posted by Gregory Ross at 2/7/2001 6:22 PM EST
Engineer on team #330, Beach Bots, from Hope Chapel Academy and NASA/JPL.
In Reply to: You are already done!
Posted by Eric Reed on 2/7/2001 3:57 PM EST:
: : Hi just wondering how to go about getting the second joystick to make a pwm go up or down, and the trigger and thumb buttons work as relays.
: : thanks,
: : Will Korinek
: : 646 Mechanical Animals
:
: It's already there. Joystick one controls PWM1, Joystick 2 PWM2, etc. through 4. Similarly, the buttons are already programmed to the relays. I think the trigger on joystick one sends relay one forward, and the thumbswitch sends relay one reverse...but that might be backwards.
: Good Luck,
: Eric
: Team 481
All this information can be found in the Control System Users Manual available on the Innovation First WWWeb site (Link below).
The default PWM controls are listed on page 27, and the relay controls are on page 28.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.