![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Hello world example for xbee_lib
Diff: main.cpp
- Revision:
- 1:b2b2ed674cbf
- Parent:
- 0:c61faf93bc2a
--- 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