Reinout nvt
/
PGO6_VoteController_template
Initial commit
Fork of PGO6_VoteController_template by
Diff: debounce_button.h
- Revision:
- 1:e7a311bd038e
- Parent:
- 0:fd29cd85e75e
--- a/debounce_button.h Thu Oct 26 07:33:07 2017 +0000 +++ b/debounce_button.h Thu Oct 26 14:16:10 2017 +0000 @@ -14,6 +14,7 @@ extern volatile int multiclick_state; // Counts how many clicks occured in the time slot, used in main loop extern volatile bool button1_busy; // Informs the mainloop that the user is clicking the button + void button1_multiclick_reset_cb(void); // Resets the amount of clicks, but stores this value for the usage in the main loop void button1_enabled_cb(void); // Enables the button again after a timeout, used for debouncing the button -void button1_onpressed_cb(void); // Callback which is called when the user presses the button \ No newline at end of file +void button1_onpressed_cb(void); // Callback which is called when the user presses the button