|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joystick Problems | anupalsingh | Programming | 0 | 23-02-2004 17:50 |
| Changing 1 joystick code to 2 (rookie team) | Brawler006 | Programming | 5 | 20-02-2004 17:00 |
| quatro OI for edubot problems | Benedictine1 | Robotics Education and Curriculum | 2 | 22-12-2003 12:47 |
| robot goes haywire with the one joystick default code | Miles | Programming | 7 | 24-01-2003 14:58 |
| joystick problem | archiver | 2000 | 12 | 23-06-2002 23:08 |