View Single Post
  #1   Spotlight this post!  
Unread 24-03-2004, 20:50
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Unhappy Problems hooking up a joystick to edubot

Okay...so i want to drive the edubot via a joystick, so i solder a connecter that puts it out to PWM cables. Now the connecter etc.. works but i can't get the joystick to output anything except 255
basically the code is :

speed=Get_Analog_Value(rc_ana_in01);
speed1=speed/4;
pwm01=pwm02=speed1;
Now when i run printf says 255 all the time for speed1!
The joystick works, all the connectors are fine, but when i measure volts it always says ~5V even if you connect SIG and Ground or SIG and +5V or +5V and Ground
regardless of joystick movement!!!!>????
I went in to the code and set analog inputs to 3 etc...but before i had a gyro hooked in analog in 1 and it worked so i don't get why this doesn't work!
Any help appreciated
Salik
__________________
Team 701