Vadim Gouskov 15-10-18 Vote Controller Version 1
Fork of PGO6_VoteController_template by
Diff: debounce_button.h
- Revision:
- 3:e234aaf2a634
- Parent:
- 0:fd29cd85e75e
--- a/debounce_button.h Tue Oct 31 09:01:56 2017 +0000 +++ b/debounce_button.h Mon Oct 15 15:53:31 2018 +0000 @@ -16,4 +16,9 @@ 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 + +// debugging +extern volatile bool debounced_flag; // Used in the main loop +extern volatile bool done_counting; // Used in the main loop +