View Single Post
  #2   Spotlight this post!  
Unread 10-02-2007, 02:00
kitscuzz's Avatar
kitscuzz kitscuzz is offline
Not alotta posts
AKA: Kit
FRC #1389 (Worst Case Scenario)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Home
Posts: 47
kitscuzz will become famous soon enough
Re: Help! Analog Inputs!!

Simply plug your POT into a analog port

Then use Get_Analog_Value(rc_ana_in0*)

Where * is the number port you placed the POT.

It will return a value between 0 and 1024, depending on how far it has been turned.