Indoor positioning. Peripheral unit.

Dependencies:   aconno_SEGGER_RTT

Revision:
0:ad937152493a
diff -r 000000000000 -r ad937152493a source/main.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source/main.h	Tue Mar 06 09:53:36 2018 +0000
@@ -0,0 +1,31 @@
+/*
+ *
+ *
+ */
+
+#ifndef MAIN_H
+#define MAIN_H
+
+#include "mbed.h"
+#include "aconno_ble.h"
+#include "tasks.h"
+#include "ble/BLE.h"
+#include "GapAdvertisingData.h"
+
+#define DEBUG_LED       (1)
+#define PRINT_ON_RTT    (1)
+
+#if PRINT_ON_RTT
+    #include "SEGGER_RTT.h"
+    #define printf(...)                      SEGGER_RTT_printf(0, __VA_ARGS__)
+#else
+    #define printf(...)
+#endif
+
+Thread bleT;
+
+#if DEBUG_LED
+    DigitalOut advLed(p22);
+#endif
+
+#endif // MAIN_H
\ No newline at end of file