|
Re: joysticks
The seconds joystick buttons are the same as on the first, except instead of p1(ex. p1_sw_trig for trigger) its p2 (ex. p2_sw_top). If your saying you want to make your own definition for them, use define. At the top of your file, put #define port1_trig p1_sw_trig;
When you put code in using port1_trig, it will be the same as if you put in p1_sw_trig.
__________________
2007 Davis/Sacramento Regional Winner (100, 997, 1458)
2008 Davis/Sacramento Regional Gracious Professionalism Award Winner
|