View Single Post
  #1   Spotlight this post!  
Unread 13-02-2008, 19:10
Hazmatt's Avatar
Hazmatt Hazmatt is offline
Registered User
AKA: Matt
FRC #2645 (PowerSurge)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Muskegon
Posts: 51
Hazmatt will become famous soon enoughHazmatt will become famous soon enough
ADC_CHO not compiling in Kevin's code

We're trying to compile with Kevin's code using an analog input and printing it to the screen but when we tried to compile we got a code error saying that "symbol 'ADC_CH0' has not been defined"

arm_pos = Get_Analog_Value(ADC_CH0);
printf ("arm position = %d\r\n",arm_pos);