Skip to content
/ Switch Public

Switch is an Arduino library to handle switches and buttons while performing debounce.

License

Notifications You must be signed in to change notification settings

escaner/Switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://github.com/escaner/Switch

Switch is an Arduino library to handle switches and buttons while performing debounce.

The class keeps track of the last event different from the current state and when it is stable for a given time, it assumes a change in the switch state. Provides either switch state information and flank information. A SwitchKp class works with analog keypads that do not support multiple simultaneous key presses.

Copyright (C) 2019-2021, Óscar Laborda

This file is part of Switch library.

Switch is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Switch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Switch. If not, see https://www.gnu.org/licenses/.

About

Switch is an Arduino library to handle switches and buttons while performing debounce.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages