Skip to content

FloppyPhil/ButtonClassExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ButtonClassExample

Class for Arduino, to detect rising edge, or descending flank on Digital Pins.

Easy way to detect and process, if a Button is pushed or released.

Simply place the Button.h File, in the same Folder as your .ino File.
Setup your .ino File like in the ButtonClassExample.ino

Now you are able to get:
-Button pushed: true
-Button pushed: false
-Button released true
-Button released false

If you want to add more Buttons, just declare more.

About

Class for Arduino, to detect rising edge, or descending flank on Digital Pins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages