PGO6_VoteController (Astrid Vanneste)

Dependencies:   MQTT

Fork of PGO6_VoteController_template by Jens de hoog

Revision:
3:376ac6744373
Parent:
2:5b7d055dbc91
Child:
4:08da93eb6014
--- a/main.cpp	Tue Oct 31 09:01:56 2017 +0000
+++ b/main.cpp	Mon Oct 08 12:56:29 2018 +0000
@@ -43,6 +43,9 @@
 
 int main(int argc, char* argv[])
 {
+    InterruptIn button(USER_BUTTON);
+    button.fall(callback(button1_onpressed_cb));
+    init_debouncer();
 
     return 0;
 }