View Single Post
  #2   Spotlight this post!  
Unread 14-02-2004, 20:45
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: problem with joystick buttons (top left one)

that looks correct - you can even simplify it as such:

Code:
if(p2_sw_aux1)
    pwm01 = 200;
else if(p2_sw_aux2)
    pwm01 = 55;
else
    pwm01 = 127;
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)