|
wpi-32u4-library
|
Interfaces with button A on the Romi 32U4. More...
#include <Romi32U4Buttons.h>
Inherits Pushbutton.
Public Member Functions | |
| Romi32U4ButtonA () | |
Public Member Functions inherited from Pushbutton | |
| Pushbutton (uint8_t pin, uint8_t pullUp=PULL_UP_ENABLED, uint8_t defaultState=DEFAULT_STATE_HIGH) | |
| virtual bool | isPressed () |
| indicates whether button is currently pressed without any debouncing. More... | |
Public Member Functions inherited from PushbuttonBase | |
| void | waitForPress () |
| Waits until the button is pressed and takes care of debouncing. More... | |
| void | waitForRelease () |
| Waits until the button is released and takes care of debouncing. More... | |
| void | waitForButton () |
| Waits until the button is pressed and then waits until the button is released, taking care of debouncing. More... | |
| bool | getSingleDebouncedPress () |
| Uses a state machine to return true once after each time it detects the button moving from the released state to the pressed state. More... | |
| bool | getSingleDebouncedRelease () |
| Uses a state machine to return true once after each time it detects the button moving from the pressed state to the released state. More... | |
| virtual bool | isPressed ()=0 |
| indicates whether button is currently pressed without any debouncing. More... | |
Interfaces with button A on the Romi 32U4.
Definition at line 24 of file Romi32U4Buttons.h.
|
inline |
Definition at line 27 of file Romi32U4Buttons.h.