0

I just got my USB host shield attached to my Arduino Uno, opened the program sketch for USBDESC.ino and I'm getting an error. It says "usbhub.h not found". It won't compile. How did I go wrong?

I am using the Mac version of the Arduino IDE and downloaded the USB host shield Master v 2.0 file directly into /Arduino/java/examples. This was how I have added every previous library download. Please help. Thanks.

  • is that file in the arduino path? did you search for it? – Chad G Apr 11 '18 at 3:53
0

I don't know how you came up with that location as the right place to put libraries. It is wrong. Oh so very wrong.

Libraries go in ~/Documents/Arduino/libraries as stated in the first hit for "arduino macos libraries" on Google.

  • ok that worked, but now I just get a garbled output from running the script – B. Guisgand Apr 12 '18 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.