JoystickShield

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

Features

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)
  • Joystick button press
  • All 4 button press (Up, Right, Down, Left)

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.

Download

You can download the library from my github page. The examples are there inside the /examples folder. After downloading place the JoystickShield folder inside your Arduino’s /library folder

License

The source code of this library and the examples are released under GPL 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.

Stay updated

I would be posting updates about this library in my blog and in Twitter. If you want to be informed when new version of this library is released, then you can either subscribe to this blog’s RSS feed or follow me in Twitter.

History

  • 2011-04-08 – v0.1 – Initial version

0 Comments so far

Trackback URI | Follow up comments through RSS Feed | Post a comment

You are the first one to start the discussion.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">