Thread: RC Analog
View Single Post
  #3   Spotlight this post!  
Unread 01-02-2008, 15:05
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Re: RC Analog

The call for analogs are
rc_ana_inXX

be careful though, you can't directly read these, you need to run them through the Analog to Digital Converter. If your using the default code it would be called like this
Code:
Get_Analog_Value(rc_ana_in01);
Make sure you set the proper number of analog channels to use though in user_routines.c
__________________

Team 610 [ Co-Leader | Head Programmer | Webmaster ]
We're attending: Greater Toronto Regional, San Diego Regional, Championship