View Single Post
  #5   Spotlight this post!  
Unread 08-02-2008, 17:39
aladrieth aladrieth is offline
Registered User
FRC #1482
 
Join Date: Feb 2008
Location: Calgary
Posts: 1
aladrieth is an unknown quantity at this point
Re: We need help with the analog inputs

To address the defining of ADC_CH0, which my team has been struggling to solve for the past 24 hours, you must put #include <adc.h> into the header file of ifi_frc.h. Be sure to use the <> instead of "" because that <> will call the adc.h file from the compiler, which defines ADC_CH0. The adc.h file in Kevin's code does not, and the "" will call that file instead.