I'm trying to call an H file from my file explorer called smartbees_intference.h. But I'm not sure why it doesn't recognise it. I've tried moving it to the file my Arduino code is in but still no luck. Can anyone tell me why? Thanks
Why do you have a '7' as the first character on that line?
Please don't post screenshots of code or errors; be aware that there might be more lines with errors in the output window than what you see.
I apologise. Must have been an accident. And that is the only error announced on my output window, but I'll keep that in mind next time
not sure what "file explorer" is, but #includes with quotes around the filename are expected to be in the local directory while filenames surrounded by "<>" are in a common directory -- Arduino/hardware/arduino/avr/cores/arduino
@gcjr, you got that not quite right. But you might be onto something.
#include <somefile.h> will search more preset directories (not only Arduino/hardware/arduino/avr/cores/arduino), e.g. the libraries directory in the sketchbook directory.
#include "somefile.h" will first search the sketch directory and if the file is not found it will look in the same directories as above.