xbee communication for UWB quadcopter project Originally by Greg Abdo Forking to reduce impact of interrupt by moving packetbuilder out of the interrupt and letting be handled in the main loop
Fork of com by
Diff: com.h
- Revision:
- 19:dc9d18037565
- Parent:
- 17:acef0fb07510
- Child:
- 21:117e01fc0373
--- a/com.h Wed Oct 15 04:57:15 2014 +0000 +++ b/com.h Tue Oct 21 21:22:21 2014 +0000 @@ -18,10 +18,12 @@ bool rdy2ack(); void sendACK(); void write(short,short); + void print(char*); private: Serial xbee; + Serial xbtx; queue cmdBuffer; queue txBuffer; queueChar rxBuffer;