In my code, I have used the statement #include <SharpIR.h>
However, when I run the code , I get this error message,
"C:\Program Files (x86)\Arduino\TestRun_v0.81\TestRun_v0.81.ino:3:21: fatal error: SharpIR.h: No such file or directory "
I have checked and there is the header file in the sketch folder.
When you do #include <SharpIR.h>
the Arduino IDE searches in the library folders for a matching header file.
When you do #include "SharpIR.h"
the Arduino IDE searches in the sketch folder and then in the library folders for a matching header file.
So if you want to use #include <SharpIR.h> then you should put SharpIR.h(and any associated files) in a folder under {your sketchbook folder}/libraries. To find your sketchbook folder location check File > Preferences > Sketchbook location.