Thread
:
Help! Analog Inputs!!
View Single Post
#
2
10-02-2007, 02:00
kitscuzz
Not alotta posts
AKA: Kit
FRC #1389 (Worst Case Scenario)
Team Role: Programmer
Join Date: Jan 2006
Rookie Year: 2005
Location: Home
Posts: 47
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.
kitscuzz
View Public Profile
Visit kitscuzz's homepage!
Find all posts by kitscuzz
Find CD-Media Photos by kitscuzz
Find CD-Media Papers by kitscuzz