MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.07k stars 403 forks source link

joystick example doesn't seem to be working with my Arduino Uno. #181

Closed Gavman05 closed 3 years ago

Gavman05 commented 3 years ago

I have downloaded the library and installed it onto the Arduino ide. however when I go to try any of the examples included in the library I get a error message. i have triple checked the port and the board type, but still get the same message. Then after reading the error message I see that the library may not be compatible with my board, is there a way i can maybe fix this. -thanks

error message.

Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

error The Joystick library can only be used with a USB MCU (e.g. Arduino Leonardo, Arduino Micro, etc.).

^~~~~

exit status 1 Error compiling for board Arduino Uno.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.