THIS IS A FORK OF SUDAR'S JOYSTICK SHIELD SPECIFICALLY FOR THE NOKIA 5110 V2.4 (https://github.com/sudar/JoystickShield) THIS GUYS GETS ALL THE CREDIT I JUST REMAPPED AND ADDED STUFF FOR THE BOARD
JoystickShield is an Arduino library that can be used with JoystickShield.
Configured for Nokia 5110 Joystick Shield v2.4 (http://www.elecfreaks.com/wiki/index.php?title=Joystick_Shield). Nokia 5110 v2.4 stacks nicely with Ardunio Uno R1
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)
- Start and Select button press on the Nokia 5110
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/documentation of the library can be found in its homepage
The source code of this library and the examples are released under "THE BEER-WARE" license.
Sudar would, however, consider it a great courtesy if you could email him and tell him about your project and how this code was used, just for my own continued personal gratification :)
You can also find other ways to make sudar happy, if you liked this project.
More details about the library can be found its homepage.