Sample program on how to use the OPT3001 sensor on the RAKWirelss iTracker module

Revision:
0:33cb2fa095df
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Feb 12 05:06:24 2018 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+// main() runs in its own thread in the OS
+int main() {
+    read_DeviceID();
+    while (true) {
+       wait(0.5);
+       read_sensor();
+    }
+}
+