2015/05/16

Dependents:   Aigamozu_Robot_ver3_1 Aigamozu_Robot_ver3_2 Aigamozu_Robot_ver3_3 Aigamozu_Robot_ver3_4 ... more

Fork of XBee by Suga koubou

Files at this revision

API Documentation at this revision

Comitter:
s1200058
Date:
Sat May 16 14:06:50 2015 +0000
Parent:
7:b36422ef864f
Child:
9:8e4a31b5eb94
Commit message:
2015/05/16

Changed in this revision

XBee.cpp Show annotated file Show diff for this revision Revisions of this file
XBee.h Show annotated file Show diff for this revision Revisions of this file
--- a/XBee.cpp	Wed Dec 18 02:32:33 2013 +0000
+++ b/XBee.cpp	Sat May 16 14:06:50 2015 +0000
@@ -1420,7 +1420,7 @@
     checksum+= request.getApiId();
     checksum+= request.getFrameId();
 
-    //std::cout << "frame length is " << static_cast<unsigned int>(request.getFrameDataLength()) << std::endl;
+    std::cout << "frame length is " << static_cast<unsigned int>(request.getFrameDataLength()) << std::endl;
 
     for (int i = 0; i < request.getFrameDataLength(); i++) {
 //        std::cout << "sending byte [" << static_cast<unsigned int>(i) << "] " << std::endl;
--- a/XBee.h	Wed Dec 18 02:32:33 2013 +0000
+++ b/XBee.h	Sat May 16 14:06:50 2015 +0000
@@ -32,6 +32,7 @@
 
 #include "mbed.h"
 #include <inttypes.h>
+#include <iostream>
 
 #define SERIES_1
 #define SERIES_2