This software is a test tool for the XBee Library 'XBee Coord API'. I'll check to pass the test when release the library.

Dependencies:   TextLCD mbed xbee

Please refer to the following site for the details:

Files at this revision

API Documentation at this revision

Comitter:
bokunimowakaru
Date:
Sat Oct 04 02:04:52 2014 +0000
Parent:
2:e9f078a82733
Child:
4:8bac0a9dece7
Commit message:
XBee lib's serial setting code on xbee.cpp is moved to 4th line on it.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
xbee.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 26 12:59:32 2014 +0000
+++ b/main.cpp	Sat Oct 04 02:04:52 2014 +0000
@@ -1,5 +1,6 @@
 #define ARM_MBED
 //#define DEBUG       // D8(PA_9)からログをUART(38400baud)出力します
+
 /*********************************************************************
 XBee ライブラリ・自動システム試験ツール
 
@@ -94,7 +95,7 @@
         delay((unsigned long)ms);
     #else
         #ifdef ARM_MBED
-            wait((float)ms/1000.);
+            wait((double)ms/1000.);
         #else // PC
             wait_millisec(ms);
         #endif
@@ -620,6 +621,5 @@
         for(i=0;i<SIZEOF_LOG_S;i++) ERROR_S[i]='\0';
         
         while(1)loop();
-        exit(1);
     }
 #endif
--- a/xbee.lib	Fri Sep 26 12:59:32 2014 +0000
+++ b/xbee.lib	Sat Oct 04 02:04:52 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/bokunimowakaru/code/xbee/#4d3b028779c9
+http://mbed.org/users/bokunimowakaru/code/xbee/#045e7cdca173