xbee communication for UWB quadcopter project

Dependencies:   PwmIn

Revision:
3:f8e953201251
Parent:
2:bd1621102cad
Child:
4:7cdf299ea7a4
--- a/com.h	Sun Apr 20 02:27:39 2014 +0000
+++ b/com.h	Tue Apr 22 05:43:33 2014 +0000
@@ -31,11 +31,13 @@
         void write( short, short ); // Write to the port.
         short * read();             // Read from the queue.
         void setAPImode(bool mode);
+        void ackCheck();
         
     private:         
         Serial xbeeTx;                // tx - DIN, rx - DOUT
         Serial xbeeRx;                // tx - DIN, rx - DOUT
         queue *rxBuffer;            // queue of commands ready to be read.
+        queue *txBuffer;
         PwmIn rssi;
           
         bool api_mode;