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:
- 15:3f742edaa359
- Parent:
- 14:d2acb373d81c
- Child:
- 16:89695823d407
--- a/com.h Sun May 25 22:54:45 2014 +0000 +++ b/com.h Wed Aug 27 06:20:23 2014 +0000 @@ -40,6 +40,8 @@ RawSerial xbeeTx; // tx - DIN, rx - DOUT RawSerial xbeeRx; // tx - DIN, rx - DOUT queue *txBuffer; + queue *rxBuffer; + queue *cmdBuffer; PwmIn rssi; bool rdy2build;