PGO6

Dependencies:   MQTT

Revision:
4:15e7cac255da
Parent:
3:14b20a4f36d0
--- a/debounce_button.h	Mon Oct 28 16:35:27 2019 +0000
+++ b/debounce_button.h	Thu Oct 31 15:19:45 2019 +0100
@@ -9,7 +9,7 @@
     
 */
 
-extern volatile bool button1_pressed;   // Used in the main loop
+/*extern volatile bool button1_pressed;   // Used in the main loop
 extern volatile bool button1_enabled;   // Used for debouncing
 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
@@ -17,4 +17,4 @@
 
 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*/