Bluetooth communication for flocking.

Dependencies:   mbed

Fork of BeautifulMemeProject by James Hilder

Revision:
19:77f7089dca87
Parent:
11:7b3ee540ba56
--- a/beacon.cpp	Fri Jan 08 19:10:52 2016 +0000
+++ b/beacon.cpp	Tue Jan 12 17:28:12 2016 +0000
@@ -353,7 +353,7 @@
 char turn_to_bearing(int bearing)
 {
     if(beacon_found == 0){
-        out("Beacon not found: cannot turn to specific bearing");   
+        out("Beacon not found: cannot turn to specific bearing\n");   
         return 2;
     }else{
         //First calculate the bearing using the angle of beacon relative to robot