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:
- 5:7cdf299ea7a4
- Parent:
- 4:f8e953201251
- Child:
- 12:bf4642578682
--- a/com.h Tue Apr 22 05:43:33 2014 +0000 +++ b/com.h Tue Apr 22 06:28:49 2014 +0000 @@ -32,6 +32,7 @@ short * read(); // Read from the queue. void setAPImode(bool mode); void ackCheck(); + bool rdy2ack(); private: Serial xbeeTx; // tx - DIN, rx - DOUT