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
    Commented Apr 11, 2018 at 3:53

1 Answer 1


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 Commented Apr 12, 2018 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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