Zumo32U4 library
|
Interfaces with button B on the Zumo 32U4. More...
#include <Zumo32U4Buttons.h>
Public Member Functions | |
virtual bool | isPressed () |
void | waitForPress () |
void | waitForRelease () |
void | waitForButton () |
bool | getSingleDebouncedPress () |
bool | getSingleDebouncedRelease () |
Interfaces with button B on the Zumo 32U4.
The pin used for button B is also used for the TX LED.
This class temporarily disables USB interrupts because the Arduino core code has USB interrupts enabled that sometimes write to the pin this button is on.
This class temporarily sets the pin to be an input without a pull-up resistor. The pull-up resistor is not needed because of the resistors on the board.
Definition at line 42 of file Zumo32U4Buttons.h.