Engduino  3.1.0
A fun device for learning coding
Public Member Functions | Friends | List of all members
EngduinoButtonClass Class Reference

Public Member Functions

 EngduinoButtonClass ()
 Constructor. More...
 
void begin (long debounceDelay=DEBOUNCE_DELAY)
 begin function - must be called before using other functions More...
 
void end ()
 end function - switch off the button More...
 
void reset ()
 Reset the wasPressed/wasReleased state. More...
 
bool isPressed ()
 Check to see if the button is pressed. More...
 
void waitUntilPressed ()
 Wait until the button is pressed. Blocking call. More...
 
void waitUntilReleased ()
 Wait until the button is released. Blocking call. More...
 
bool wasPressed ()
 Check to see if the button was pressed since our last check. More...
 
bool wasReleased ()
 Check to see if the button was released since our last check. More...
 

Friends

void INT6_vect ()
 

The documentation for this class was generated from the following files: