Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Fork of Lab7-01_template by
Diff: main.cpp
- Revision:
- 21:8df80d4e6003
- Parent:
- 20:8bc48b6ac23d
- Child:
- 23:68758ba22c86
diff -r 8bc48b6ac23d -r 8df80d4e6003 main.cpp
--- a/main.cpp Fri Oct 19 11:08:33 2018 +0000
+++ b/main.cpp Tue Aug 20 10:09:40 2019 +0000
@@ -31,7 +31,7 @@
int flag = 0;
int rcmd=0,cmdflag=0;
-
+ xbee.xbee_receive(&rcmd,&cmdflag);
while(1) {
battery.power_saving_mode(&flag,&bt);
temp.temp_sense(&temper);
@@ -49,7 +49,6 @@
xbee.printf("%s",warning);
}else{}
- xbee.xbee_receive(&rcmd,&cmdflag);
if (cmdflag == 1) {
xbee.printf("Command Get = %d\r\n",rcmd);
