View Single Post
  #14   Spotlight this post!  
Unread 15-02-2007, 11:48
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: HELP: analog input

Like i said before...its connected CORRECTLY...
There is another problem...
Black goes to left side of potentiometer
Red goes to its right leg
and white goes to the middle one...
and they connect to the analog inputs correctly
We have measured voltages between red and white legs, and it shows inputs from 0 to 4.95V liniarically to the rotation i make...

Here's our code:
printf("%u",Get_Analog_Value(rc_ana_in01));

does not work with %d or %u....

could you show me the code of Get_Analog_value...perhaps the problem we have has to with that function...
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.

Last edited by Tottanka : 15-02-2007 at 11:52.