xbee shield simple test code

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Arkadi
Date:
Mon Feb 04 13:05:44 2019 +0000
Parent:
0:1b9c87e81f07
Commit message:
changed baud rate

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1b9c87e81f07 -r 2b7034eb3015 main.cpp
--- a/main.cpp	Mon Feb 04 12:58:20 2019 +0000
+++ b/main.cpp	Mon Feb 04 13:05:44 2019 +0000
@@ -27,8 +27,8 @@
 
 int main()
 {
-    pc.baud(57600);
-xbee.baud(57600);
+    pc.baud(9600);
+xbee.baud(9600);
     int i = 1;
 
     pc.printf("Hello World pc!\r\n");