Re: Include file "magic"
@LdB_ECM I agree with your post, which is one of the reasons I am confused. The statement with brackets #include <device.h> was not written by me, it comes from the sample app downloaded from Microchip resources.
I am just trying to understand WHY it works at all, since the file in question device.h is not a system file, but is rather contained in the project directories. As a second question, why did the Microchip folks code it this way? Maybe they had a good reason. If so, I want to know what it is.
Of course I can just modify the code to make it work, changing it to use quotes and place the file is a project directory, that would be easy. But I have refrained from just doing that, since I am trying to learn.
I have been designing hardware and writing firmware for embedded processors for a long time (anyone remember the 4004?). But learning is an ongoing requirement in the field we have chosen.
Thanks for everyone's comments,