Skip to content

(For My Teaching Tutorial Blog) Arduino Push-Button Utility class - debounce - pinMode( INPUT ) OR pinMode( INPUT_PULLUP )

License

Notifications You must be signed in to change notification settings

musicrizz/Arduino_PushButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino_PushButton

It is an utility class for Push-Button,
with debouce sistem based on time that is configurable
Very simple to use with two mode :
INPUT or INPUT_PULLUP
You can pass a method() do you prefer to the constructor

Button* button1 = new Button(PIN_BUTTON_1, INPUT, Method_1 );
Button* button2 = new Button(PIN_BUTTON_2, INPUT_PULLUP, Method_2 );

Check the example in the PushButtonExample folder

About

(For My Teaching Tutorial Blog) Arduino Push-Button Utility class - debounce - pinMode( INPUT ) OR pinMode( INPUT_PULLUP )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages