![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Simple example of using XBeeApi to receive data packets via wireless
Diff: main.cpp
- Revision:
- 1:36ac23927246
- Parent:
- 0:1c4d3c2753d4
- Child:
- 2:34b3b5b1f01d
--- a/main.cpp Wed Apr 02 21:35:26 2014 +0000 +++ b/main.cpp Wed Apr 02 21:45:08 2014 +0000 @@ -29,8 +29,6 @@ Serial pc(USBTX, USBRX); // tx, rx -const uint8_t tx_data[] = { 'H', 'E', 'L', 'L', 'O' }; - /* TODO: You may need to change these based on the device/connections that you're using */ #define XBEE_TX_PIN PTA2 #define XBEE_RX_PIN PTA1