View Single Post
  #4   Spotlight this post!  
Unread 10-02-2009, 20:36
Beakerone Beakerone is offline
Registered User
FRC #1099 (Lions)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Brookfield, CT
Posts: 2
Beakerone is an unknown quantity at this point
Re: Analog input delay problems

Quote:
Originally Posted by LinuxMercedes View Post
Well, I suppose this problem is moot now. I hooked up a pot today to drive a motor speed, and it worked fine...

I think it might have been caused by cosmic rays, since I've never had this happen when printf()ing anything else. =]
Glad the cosmos is aligning for you.
i was wondering - we are using pots also - one on the driver station which we can get the AnalogIn value (1-1024) which we are trying to compare to the value of an identical pot connected to the analog module on the cRio... however, we can not seem to get a similar value back from the Pot attached to the cRio, what was the code that you used to read those values from that pot... appreaciate the help.
we are going to use the pots to control the direction of a turret but need to compare the values so as not to twist the turret all the way around.
thanks in advance for any help you can provide..
have a great season.
Brain

Last edited by Beakerone : 10-02-2009 at 20:37. Reason: missing info
Reply With Quote