View Single Post
  #1   Spotlight this post!  
Unread 13-02-2007, 05:20
Shomron1690 Shomron1690 is offline
Registered User
FRC #1690
 
Join Date: Jan 2007
Location: Israel
Posts: 15
Shomron1690 is an unknown quantity at this point
ADC Initialization problem

hello
i want to merge the code of the gyro (kevin's code), with the whole general code (again, kevin's code).

i followed the instructions under gyro_readme.txt - and it worked.
then i had to follow the instruction adc_readme.txt and im on step 2:

" 2) Initialize_ADC() must be called from user_routines.c/
User_Initialization() "

i added " Initialize_ADC() " under " User_Initialization() " and when i checked whether the code works so far' i downloaded the program to the RC, and the Program State Led was Blinking in red.

does anyone had this problem and / or know how to solve it?
thanks