Tristan Hughes
/
Xbee_Hello_world
Hello world example for xbee_lib
Revision 1:b2b2ed674cbf, committed 2012-08-31
- 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 |
diff -r c61faf93bc2a -r b2b2ed674cbf main.cpp --- 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
diff -r c61faf93bc2a -r b2b2ed674cbf xbee_lib.lib --- 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