2015/06/09

Dependencies:   ADXL345 AigamozuControlPackets HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST mbed

Fork of Aigamozu_Robot_ver4_4 by aigamozu

Revision:
18:a817972b89cd
Parent:
17:e563cf8e6bcf
Child:
19:a806105ba365
diff -r e563cf8e6bcf -r a817972b89cd main.cpp
--- a/main.cpp	Fri May 15 08:21:21 2015 +0000
+++ b/main.cpp	Fri May 15 09:25:44 2015 +0000
@@ -41,7 +41,7 @@
 //Base    ID: 'a' ~ 'a'
 //manager ID: '0'(数字のゼロ)
 //
-const char MyID = 'C';
+const char MyID = 'A';
 //************ID Number*****************
 
 /////////////////////////////////////////
@@ -119,7 +119,7 @@
     }
     //send normal data
     //Create GPS Infomation Packet
-    agz.createReceiveStatusCommand(MyID,SenderIDc, (char)agz.gpsAuto(),
+    agz.createReceiveStatusCommand(MyID,SenderIDc, (int)agz.gpsAuto(),
                                     agz.get_agzPoint_lati(),agz.get_agzPoint_longi(),
                                     agz.get_agzPointKalman_lati(),agz.get_agzPointKalman_longi(),
                                     agz.get_agzCov_lati(),agz.get_agzCov_longi());