When I try to run my richshield library, the app just keeps telling me there is no such richshield library on my laptop despite me having the zip file uploaded and library included
The error code is as follows:
C:\Users\tanxi\AppData\Local\Temp.arduinoIDE-unsaved2024816-17760-1bkjrm0.89ib\L2_Buzzer_PlayTone\L2_Buzzer_PlayTone.ino:14:10: fatal error: RichShieldPassiveBuzzer.h: No such file or directory #include "RichShieldPassiveBuzzer.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: RichShieldPassiveBuzzer.h: No such file or directory
just to clarify this happens with all richshield files, not just the buzzer
is there anything I can do to fix this?
Is it the part under Sketch > include library > add ZIP library?
Yes I've already done this part, richshield is displayed at the bottom under contributed libraries
or were you referring to something else?
Ask your classmate how they installed the library correctly... or try again...
IDE >> SKETCH >> INCLUDE LIBRARY >> ADD ZIP LIBRARY >> select the zip file >> OPEN
What does your IDE Output Monitor say as the installation occurs?
Then, find that folder and look inside the folder. Do you see "RichShieldPassiveBuzzer.h"?
Here is the location of the full library (libraries in a zip file inside the library). This seems to be another vendor's glob for different Rich Shield products... no "RichShieldPassiveBuzzer.h"
I've opened the richshield folder under sketch > include library > richshield and tried using the line I got which was #include <RichShieldPassiveBuzzer.h> but i still get the same no such file or directory error
both lines #include <RichShieldPassiveBuzzer.h> and #include "RichShieldPassiveBuzzer.h" are in the code and I have already returned the previous line to #include "RichShieldPassiveBuzzer.h"
I've tried running the code with only either of them and both of them and the error still won't go away