Test the HalfDuplex library bypassing the MX12 library

Dependencies:   mbed-src

Fork of MX106-custom by Team DIANA

Revision:
1:946c65496383
Parent:
0:23acabab7c11
Child:
3:d44622fe4fac
--- a/main.cpp	Tue Apr 26 14:46:15 2016 +0000
+++ b/main.cpp	Tue Apr 26 16:46:51 2016 +0000
@@ -1,4 +1,16 @@
 #include "mbed.h"
+#include "AX12.h"
 
 int main() {
-    }
\ No newline at end of file
+   Serial pc(USBTX, USBRX);
+   AX12 MX106(PA_0, PA_1, 1);
+   pc.printf("Start run!");
+   
+   
+   while (1) {
+                 
+      pc.printf("%f",MX106.GetTemp());
+        
+        
+    }
+}
\ No newline at end of file