Giter VIP home page Giter VIP logo

joystickshield's Introduction

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 modes.

The library supports the following events:

  • All 8 directions of Joystick (Up, RightUp, Right, RightDown, Down, LeftDown, Left and LeftUp)
  • plus amplitude of joystick (position) for each axis (in % from -100% to 100% per axis)
  • Button presses: 4 main button press (Up, Right, Down, Left), Joystick and special buttons F and E
  • Buttons are not mutually exclusive - more than one can be pressed at a time
  • calibrate Joystick function

Examples

The library has two examples sketches which explain 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 at 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 at its homepage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.