17 lines
214 B
C
17 lines
214 B
C
#ifndef ROTARY_H_
|
|
#define ROTARY_H_
|
|
|
|
|
|
const uint32_t DEBOUNCING_DEAD_TIME = 100;
|
|
const uint32_t DEBOUNCING_REPEAT = 100;
|
|
|
|
void rotaryInit();
|
|
|
|
int getAndResetRotaryCount();
|
|
bool getAndResetSwitchState();
|
|
|
|
|
|
|
|
|
|
#endif
|