View Single Post
  #1   Spotlight this post!  
Unread 18-02-2004, 22:57
bstempi bstempi is offline
Captain
#0708 (Hardwired Hatters)
Team Role: Student
 
Join Date: Feb 2004
Location: Horsham, Pa
Posts: 23
bstempi is an unknown quantity at this point
Send a message via AIM to bstempi
Question Inconsistant Joystick

Here's my problem:
I have an arm that rotates, and inside of it, there is another arm that pokes out. What I wanted to do was use the second joystick to control it. I use p2_y to control the rotation of the arm on pwm04. I use the hat on p2 (p2_wheel) to retract/extend the arm by pressing up or down. In defaultroutine, pwm04 = p2_y. For some reason, the hat will work. It will tell the arm to do what I want it to. The kick in the but comes here: when using dashboard, it tells me that pwm04 is always 127. Sometimes it works, and sometimes it doesn't. It doens't matter what joystick I use, it just randomly decides to work. Anyone else experience this? Should I invest in a new controler? Many thanks.
~Brian Stempin
Captain, Team 708