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 Prosper Van

Revision:
14:d2acb373d81c
Parent:
13:2fb7b19dcd70
Child:
15:3f742edaa359
diff -r 2fb7b19dcd70 -r d2acb373d81c com.h
--- a/com.h	Thu May 22 05:58:40 2014 +0000
+++ b/com.h	Sun May 25 22:54:45 2014 +0000
@@ -23,7 +23,7 @@
 
 
 const int BAUDRATE      = 38400;
-const int BUFFERSIZE    = 18;
+const int BUFFERSIZE    = 16;
 
 class com
 {  
@@ -32,7 +32,7 @@
         bool isData();              // Is there data to be read?
         bool isSignalGood();
         short * read();             // Read from the queue.
-        void ackCheck();
+        void sendACK();
         bool rdy2ack();
         
     private: