Pololu Zumo Shield Arduino Library
|
Go to the documentation of this file.
17 #define PULL_UP_DISABLED 0
20 #define PULL_UP_ENABLED 1
24 #define DEFAULT_STATE_LOW 0
28 #define DEFAULT_STATE_HIGH 1
35 #define ZUMO_BUTTON 12
43 class PushbuttonStateMachine
47 PushbuttonStateMachine();
51 bool getSingleDebouncedRisingEdge(
bool value);
56 uint16_t prevTimeMillis;
126 PushbuttonStateMachine pressState;
127 PushbuttonStateMachine releaseState;