xbee

Dependencies:   mbed HEPTA_COM

Revision:
0:6b6d84df5aef
diff -r 000000000000 -r 6b6d84df5aef main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jan 28 09:58:43 2022 +0000
@@ -0,0 +1,10 @@
+//xbeetest
+#include "mbed.h"
+
+Serial pc(USBTX,USBRX);
+Serial xbee(p13,p14);
+
+int main(){
+    pc.printf("ax1 ay12 az123\r\ngx0 gy0 gz0\r\n");
+    xbee.printf("ax1 ay12 az123\r\ngx0 gy0 gz0\r\n");
+}
\ No newline at end of file