2015/05/14

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

Fork of Aigamozu_Robot_ver2_2 by aigamozu

Files at this revision

API Documentation at this revision

Comitter:
s1200058
Date:
Fri May 15 09:25:44 2015 +0000
Parent:
17:e563cf8e6bcf
Commit message:
2015/05/15

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
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());