TeensyPwm/rotary.h

17 lines
214 B
C
Raw Normal View History

2015-02-14 17:30:37 +01:00
#ifndef ROTARY_H_
#define ROTARY_H_
const uint32_t DEBOUNCING_DEAD_TIME = 100;
2015-02-14 20:13:55 +01:00
const uint32_t DEBOUNCING_REPEAT = 100;
2015-02-14 17:30:37 +01:00
void rotaryInit();
int getAndResetRotaryCount();
bool getAndResetSwitchState();
2015-02-14 20:13:55 +01:00
#endif