View Single Post
  #1   Spotlight this post!  
Unread 08-02-2007, 16:53
CrashOverride's Avatar
CrashOverride CrashOverride is offline
Registered User
FRC #1831
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Gilford, NH
Posts: 16
CrashOverride is an unknown quantity at this point
Re: OI potentiometer for controlling turret

Yes it can easily be done.
Goto http://www.ifirobotics.com/docs/oi-r...de-1-30-07.pdf and check out page 7-10 it will show you how to wire a potentiometer to one of the joystick analog ports. Treat it exactly like a joystick input. You should receive a value between 0-255 all you have to do is map that to 360 degrees.