initial publish

Dependencies:   mbed ADXL375_i2c

Revision:
0:1791e9732820
diff -r 000000000000 -r 1791e9732820 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Oct 23 13:26:46 2019 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "ADXL375_i2c.h"
+
+DigitalOut myled(PB_1);
+Serial pc(PA_9, PA_10, 9600);
+
+ADXL375_i2 adxl = ADXL375_i2c(PB_7, PB_6);
+
+int main() {
+    while(1) {
+        myled = 1; // LED is ON
+        wait(0.2); // 200 ms
+        myled = 0; // LED is OFF
+        wait(1.0); // 1 sec
+    }
+}