On 27/08/2012 17:28, David wrote: > On 27/08/2012 17:13, Wouter van Ooijen wrote: >> Another trick (that is somewhat compiler-dependent) is to have widgit.h >> include widgit-pins.h, which is in the project directory. This how it is >> done in Jal. > > That's a neat idea, I will try this and see if I can get it to work. > MPLABX and HiTech (I've not moved to XC8 yet) do some things I need to > understand better when you add files from multiple folders into one proje= ct. This approach works well with MPLABX and HiTech. I have to add the=20 project directory to the list of include paths, so that the #include=20 "widgit-pins.h" can be resolved by the preprocessor. Thanks, David --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .