Coder Social home page Coder Social logo

debouncer's Introduction

Debouncer {#mainpage}

Collection of Debouncing strategies from the internet suitable for embedded systems. The algorithms currently implemented are from this article by Jack Ganssle https://www.embedded.com/my-favorite-software-debouncers/

Code Structure

  1. Source files are present in @ref Src
  2. Interface files are present in @ref inc
  3. PLease refer doxygen generated HTML documentation in the Doc/html subfolder for implementation details
  4. The function entry point is @ref Main.c

Usage

  1. Initialization of the debugger is achieved through @ref debounce_Init in @ref Debounce.h
  2. At initialization the function for reading raw button input needs to be passed to @ref debounce_Init.
  3. @ref debounce_pressRelease or @ref debounce_bitTrain need to be called periodically using an interrupt or task, Please refer to the @ref debounce_Init section for details
  4. @ref debounce_isKeyPressed is used to read debounced buttons

Credits

  1. The algorithms implemented are based on this article by Jack Ganssle https://www.embedded.com/my-favorite-software-debouncers/

Permissions

  1. PLease refer to the LICENSE file

Contact Me

  1. You can reach out to me on LinkedIn here https://www.linkedin.com/in/vishal-keshava-murthy-8a2ba1a7/

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.