|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
||||
|
||||
|
Re: Programing joystick buttons
I'm surprised it takes that much. In MPLAB, it is just four:
Code:
if(p1_sw_top) pwm01 = 254; else pwm01 = 127; Code:
if(p1_sw_top){
pwm01 = 254;
} else {
pwm01 = 127;
}
p1_sw_top is the top button on CH flightsticks and, I believe, one of the buttons on the top of the AVB Top Shots. I think the thumb button is either another trigger or top button... the wiring in those AVB sticks is darn confusing. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Buttons to Pins on Joystick | yarb65 | Electrical | 1 | 24-08-2007 20:39 |
| Programming Extra Joystick Buttons | Inverted | Programming | 2 | 08-02-2007 11:45 |
| Victors Controlled By Joystick Buttons | douglass1371 | Electrical | 2 | 17-02-2006 01:57 |
| Programing a joystick | Justin_302 | Programming | 2 | 21-03-2005 22:45 |
| Assigning Joystick buttons.... | archiver | 2001 | 5 | 24-06-2002 00:59 |