base station for dump truck

Dependencies:   mbed nRF24L01P

Fork of nRF24L01P_Hello_World by Owen Edwards

Revision:
4:3c37c857665c
Parent:
3:bb1102948ba5
--- a/main.cpp	Tue Apr 25 05:25:18 2017 +0000
+++ b/main.cpp	Tue Apr 25 21:00:20 2017 +0000
@@ -22,12 +22,6 @@
         // ...read the data into the receive buffer
         rxDataCnt = my_nrf24l01p.read( NRF24L01P_PIPE_P0, rxData, sizeof(rxData));
         // match with ack array
-        //for ( int i = 0; rxDataCnt > 0; rxDataCnt--, i++ ) {
-//            if(rxData[i] == acked[i]) {
-//                matched++;
-//            }
-//        }
-        //printf("%d \r\n", strcmp(rxData, acked));
         if(strcmp(rxData, acked)==-1) {
             pc.printf("ACK\n\r");
             ack = true;