View Single Post
  #1   Spotlight this post!  
Unread 06-02-2008, 18:32
Guarana Guarana is offline
Registered User
FRC #1706
 
Join Date: Jan 2008
Location: Wentzville, Missouri
Posts: 16
Guarana is an unknown quantity at this point
Re: Gyro Implementation

Okay, so now I got the gyro code all up and going. I am now working on installing the ADC.

I get to the part where is says to make all the analog inputs = INPUT; So I have this code:

rc_ana_in01 = rc_ana_in02 = rc_ana_in03 = rc_ana_in04 = INPUT;
rc_ana_in05 = rc_ana_in06 = rc_ana_in07 = rc_ana_in08 = INPUT;
rc_ana_in09 = rc_ana_in10 = rc_ana_in11 = rc_ana_in12 = INPUT;
rc_ana_in13 = rc_ana_in14 = rc_ana_in15 = rc_ana_in16 = INPUT;

above the digital inputs section in User_Initialization(). it keeps giving me a syntax error on the top line. Help?