LUIS

Dependencies:   mbed

Revision:
0:96bdb0d08de1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Oct 05 14:54:54 2018 +0000
@@ -0,0 +1,32 @@
+#include "mbed.h"
+#include "fct.h"
+
+
+int main() {
+    
+    LIDAR.period(PERIOD);
+    LIDAR.pulsewidth(PERIOD*0.2);
+    pc.baud(230400);
+    Lidar.baud(115200);
+    Lidar.attach(&reception);
+    //pc.printf("NAW SCAN\n\r");
+    wait(2);   
+    get_info();
+    //get_health();
+    /*Lidar.putc(SYNC);
+    Lidar.putc(SCAN);
+    
+    wait(5);
+    Lidar.putc(SYNC);
+    Lidar.putc(STOP);  */  
+    while(1)
+    {
+
+
+
+    }
+}
+
+
+
+