Xbee countUP

Dependencies:   mbed

Fork of HeptaXbee_CountUp by 智也 大野

Files at this revision

API Documentation at this revision

Comitter:
tomoya123
Date:
Tue Dec 13 07:55:03 2016 +0000
Parent:
0:0a7fa0911e6c
Commit message:
Xbee CountUp

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Dec 09 04:58:00 2016 +0000
+++ b/main.cpp	Tue Dec 13 07:55:03 2016 +0000
@@ -5,11 +5,11 @@
 HeptaXbee xbee(p9, p10);//(tx,rx)=(Din,Dout)
 
 int main() {
-    pc.baud(9600);
-    xbee.baud(9600);
-    pc.printf("N:Xbee Count Up  Mode\r\n");
-    for(int i=1;i<10;i++){
-        xbee.printf("num = %d\r\n",i);
-        wait (1.0);
-    }
+        pc.baud(9600);
+        xbee.baud(9600);
+        pc.printf("Xbee Count Up  Mode\r\n");
+        for(int i=1;i<10;i++){
+           xbee.printf("num = %d\r\n",i);
+           wait (1.0);
+        }
 }
\ No newline at end of file