I installed NewPing via Arduino IDE>Skethces>include library> manage libraries - and I still get the same error:
ultrasonic_test:1:10: fatal error: NewPing.h: No such file or directory #include <NewPing.h>
compilation terminated.
exit status 1
NewPing.h: No such file or directory
This won't really be of any help, but jfyi I installed that library the same way just this very morning to assist in a thread. The examples and an old sketch I brought over from an old laptop compile and run, nae bother.
Hi @ghetc. I'm going to ask you to provide some additional information that might allow us to determine the cause of the problem.
Please do this:
Select File > Preferences from the Arduino IDE menus.
Check the box next to "Show verbose output during: ☐ compilation".
Click the OK button.
Select Sketch > Verify/Compile from the Arduino IDE menus.
After the compilation fails you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button.
This copies the full output to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the compilation output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.