Log in

View Full Version : Problem with FRC Default code


AsimC
11-01-2004, 19:12
i know there are other threads about ADC channels... but im having a problem with compiling the code. When I compile... it returns a message saying that file "adc.h" cannot be found...and the file isnt in the folder provided by Innovation FIRST. Any suggestions on what to do?

Jay Lundy
11-01-2004, 19:17
i know there are other threads about ADC channels... but im having a problem with compiling the code. When I compile... it returns a message saying that file "adc.h" cannot be found...and the file isnt in the folder provided by Innovation FIRST. Any suggestions on what to do?Goto Project -> Build Options... -> Project.

Make sure the include path points to the folder with the compiler header files. So if your mcc18 folder is at C:\mcc18, then the header folder would be c:\mcc18\h.

AsimC
11-01-2004, 19:22
Goto Project -> Build Options... -> Project.

Make sure the include path points to the folder with the compiler header files. So if your mcc18 folder is at C:\mcc18, then the header folder would be c:\mcc18\h.


It worked...Thank you so much!