/JoystickShield

JoystickShield library for Arduino

Primary LanguageC++OtherNOASSERTION

JoystickShield

JoystickShield is an Arduino library that can be used with JoystickShield.

The library supports both event based (callback mode) and the normal mode. Refer to the examples to find out how to use the library in both the modes.

The library supports the following events

  • All 8 directions of Joystick. (Up, RightUp, Right, RightDown, Down, LeftDown, Left and LeftUp)
    • amplitude of all 4 directions (in % from -100% to 100% per axis)
  • Joystick button press
  • All 4 button press (Up, Right, Down, Left)
    • 2 special Buttons F and E
    • calibrate Joystick function

Examples

The library has two examples sketches which explains the modes

  • SimpleExample - Shows the normal way of using the library
  • CallbackExample - Shows how to use the library in callback mode.

Explanation

Explanation/documentation of the library can be found in its homepage

License

The source code of this library and the examples are released under "THE BEER-WARE" license.

I would, however, consider it a great courtesy if you could email me and tell me about your project and how this code was used, just for my own continued personal gratification :)

You can also find other ways to make me happy, if you liked this project.

Note

More details about the library can be found its homepage.