diff --git a/inc/buttons.h b/inc/buttons.h new file mode 100644 --- /dev/null +++ b/inc/buttons.h @@ -0,0 +1,21 @@ +/* + * buttons.h + * + * Created on: Oct 22, 2016 + * Author: Nicholas Orlando + */ + +#ifndef BUTTONS_H_ +#define BUTTONS_H_ + +enum _btn_state_id +{ + NOT_PRESSED = 0, + PRESSED = 1, + HELD_SHORT = 2, + HELD_LONG = 3, +}; + +void freaking_debounce(void); + +#endif /* BUTTONS_H_ */