Hepta UplinkData
Dependencies: mbed PowerControl SDFileSystem
Fork of Hepta_UplinkData by
Revision 4:4f34143d3f6e, committed 2016-12-23
- Comitter:
- MEXT1
- Date:
- Fri Dec 23 04:44:57 2016 +0000
- Parent:
- 3:d9783e219d90
- Commit message:
- UplinkData
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d9783e219d90 -r 4f34143d3f6e main.cpp --- a/main.cpp Fri Dec 23 03:20:53 2016 +0000 +++ b/main.cpp Fri Dec 23 04:44:57 2016 +0000 @@ -20,17 +20,17 @@ pc.printf("rcmd=%d,cmdflag=%d\r\n",rcmd,cmdflag); if(cmdflag==1){ if(rcmd=='a'){ - xbee.printf("Command Get\r\n"); + pc.printf("Command Get\r\n"); + xbee.printf("HEPTA Uplink OK\r\n"); for(int j=1;j<10;j++){ accel.sensing_u16(acx,acy,acz); battery.vol_u16(bat); xbee.xbee_s_transmit(acx,acy,acz,bat); wait(1.0); - } - xbee.printf("HEPTA Uplink OK\r\n"); + } } xbee.initialize(); } - wait (1.0); + wait (1.0); } } \ No newline at end of file