Go to Post Hasn't that always been the mission of FIRST? Don't settle for what works; strive for what amazes. - Sam Lipscomb [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 20:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi