a_team_fep_rx_from_kinect_sample

Revision:
0:338b7241e445
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 04 10:54:05 2018 +0000
@@ -0,0 +1,13 @@
+#include"fep_kinect.h"
+#include"mbed.h"
+fep_kinect fep(PC_12,PD_2,151,115200);
+Serial pc(USBTX,USBRX,115200);
+int main()
+{
+    while(true) {
+        fep.newdata();
+        int distance = fep.get_distance();
+        int mode = fep.get_mode();
+        pc.printf("%d,%d\n\r",distance,mode);
+    }
+}
\ No newline at end of file