View Single Post
  #2   Spotlight this post!  
Unread 20-01-2006, 18:24
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: problems using gyro/adc code with camera default code

Quote:
Originally Posted by tanstaafl
I started with the camera "bells and whistles" version.

now, because this header file is enclosed between < >, that means it's the compiler's problem to include it, right? or do I have to actually add it to the project file list? I've tried both, just adding the #include part to user_routines_fast.c, trying with both the < > and " " signs, and I also tried actually adding the p18f8722.h while using < > and " ". none of it worked. are there other source files I need to add the #include <p18f8722.h> line to besides user_routines_fast.c? or is that even the source file you were talking about in the first place?
Okay, it sounds like MPLAB doesn't know where the header files are. Mark McLeod, one of the resident experts on compiler weirdness, posted this: http://www.chiefdelphi.com/forums/sh...53&postcount=6. Hopefully that'll fix your problem.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org