Hello world example for xbee_lib

Dependencies:   mbed xbee_lib

Files at this revision

API Documentation at this revision

Comitter:
tristanjph
Date:
Fri Aug 31 14:45:07 2012 +0000
Parent:
0:c61faf93bc2a
Commit message:
Documentation update

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
xbee_lib.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 29 14:32:10 2012 +0000
+++ b/main.cpp	Fri Aug 31 14:45:07 2012 +0000
@@ -8,8 +8,8 @@
     int device_serial[8];
     int security_key[8];
     int Pan_ID;
-    char send_data[202];
-    char read_data[202];
+    char send_data[202]; //The buffer inside the Xbee can only store 202 bytes 
+    char read_data[202]; //The buffer inside the Xbee can only store 202 bytes 
 
     xbee1.ConfigMode(); //Enter the xbee's config mode
     xbee1.GetSerial(device_serial); //Read the xbee devices serial into device_serial
--- a/xbee_lib.lib	Wed Aug 29 14:32:10 2012 +0000
+++ b/xbee_lib.lib	Fri Aug 31 14:45:07 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/tristanjph/code/xbee_lib/#682615a0717e
+http://mbed.org/users/tristanjph/code/xbee_lib/#ede20c047d8b