I am going round and round and not clearing this. I have installed the DFPlayer Mini MP3 library from Makuna but I can't get any code to compile.
I keep getting:
Invalid library found in C:\Users\david\OneDrive\Documents\Arduino\libraries\DFRobotDFPlayerMini.h: no headers files (.h) found in C:\Users\david\OneDrive\Documents\Arduino\libraries\DFRobotDFPlayerMini.h
The .h looks fine to me but I am a newby to C (Long term Smalltalk developer).
That is an odd error, how did you install this library? It almost seems as if it thinks C:\Users\david\OneDrive\Documents\Arduino\libraries\DFRobotDFPlayerMini.h is a directory.
That seems to have been the problem. Also, the file inside was called DFRobotDFPlayerMini.h.ino. I took the .ino off and it has compiled so far. I will come back fully when it is running (fingers crossed).
LongHairedDavid:
That seems to have been the problem. Also, the file inside was called DFRobotDFPlayerMini.h.ino. I took the .ino off and it has compiled so far. I will come back fully when it is running (fingers crossed).
I think the bigger issue is how you installed it. I personally would delete that folder, and install the library correctly. https://www.arduino.cc/en/guide/libraries