BLE switch interface using micro:bit with 3 tact switches or 3 Makey Makey sensors

Dependencies:   microbit

Revision:
2:8e2e6c6658be
Parent:
1:9d0e2e5b5d25
Child:
3:d8fd4efb63cc
--- a/microbit_switch_if_3sw.h	Thu Jun 06 19:06:06 2019 +0000
+++ b/microbit_switch_if_3sw.h	Sat Jun 08 04:40:57 2019 +0000
@@ -134,9 +134,9 @@
 // Disable debug messages by setting NO_DEBUG
 //----------------------
 #ifndef NO_DEBUG
-#define DEBUG(...) printf(__VA_ARGS__)
+#define DEBUG(...)
 #else
-#define DEBUG(...)
+#define DEBUG(...) printf(__VA_ARGS__)
 #endif
 
 //----------------------