Homero Silva / Mbed 2 deprecated PRGP_Pi_Swarm_ground_search_algorithm

Dependencies:   mbed

Fork of Pi_Swarm_Blank by James Hilder

Revision:
5:70a83245e681
Parent:
4:823174be9a6b
Child:
7:d03e54d9eb1c
--- a/main.cpp	Tue Feb 18 17:18:43 2014 +0000
+++ b/main.cpp	Wed Jun 11 14:14:50 2014 +0000
@@ -56,6 +56,7 @@
 // If the communication stack is not being used, all radio data is sent to processRawRFData() instead
 
 void handleUserRFCommand(char sender, char broadcast_message, char request_response, char id, char is_command, char function, char * data, char length){
+    pc.printf("Command:%s\n",data);
     // A 'user' RF Command has been received:  write the code here to process it
     // sender = ID of the sender, range 0 to 31
     // broadcast_message = 1 is message sent to all robots, 0 otherwise
@@ -70,6 +71,7 @@
 }    
 
 void handleUserRFResponse(char sender, char broadcast_message, char success, char id, char is_command, char function, char * data, char length){
+    pc.printf("Response:%s\n",data);
     // A 'user' RF Response has been received:  write the code here to process it
     // sender = ID of the sender, range 0 to 31
     // broadcast_message = 1 is message sent to all robots, 0 otherwise