On 2003-10-24 at 17:13:33 [+1000], Wouter van Ooijen wrote: > Another problem: The sequence > > #include > #include > > gives an error because delays.h includes p18cxxx.h, which conflicts with > p18f242.h! My solution is to fake that p18cxxx is already included: > > #include > #define _P18CXXX_H /* otherwise p18cxxx will be included which conflicts > with p18f242 :( */ > #include Why don't you just #include rather than p18f242.h? p18cxxx.h will include p18f242.h for you based on your processor directive. -- Michael Davidson Fortune: It's not that I'm afraid to die. I just don't want to be there when it happens. -- Woody Allen -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads