Giter Club home page Giter Club logo

keypad's Introduction

Keypad library for Arduino

Authors: Mark Stanley, Alexander Brevig

The Keypad library is designed for driving matrix style keypads (matrix decoder) when using the Arduino platform. It uses the standard method of selecting a column and scanning all the rows to see which key may be pressed. Support is provided for various size keypads (or matrix style keyboards) up to 160 keys with a maximum of 16 columns and 10 rows. You can expand beyond that if you are willing to make minor changes to the library.

Features of this library are: Allows multiple, simultaneous, keypresses. (Current max of 10 keys at one time.) Backwards compatible with previous single-key methods. Has a built-in state-machine to debounce the keys without slowing down your code.

Online Wokwi Arduino Simulation link here: https://wokwi.com/arduino/projects/284084336653763080 Use this link to play with the keypad source code

Version 3.2 2015-08-17 - Tim Trzepacz: Added "stated" event listener that also receives key state as a parameter.

You can get more information about matrix keypads and how to connect them to your Arduino on the playground:

http://arduino.cc/playground/Code/Keypad

The source and file structure has been modified to conform to the newer 1.5r2 library specification and is not compatible with legacy IDE's. For these IDE's, visit the link above to grab the pre 1.0 compatible version, or download it directly here: [pre 1.0 version].

keypad's People

Contributors

nullkraft avatar dzervas avatar softegg avatar merwok avatar thenitek avatar estherdow avatar matititam avatar

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.