![](/media/cache/profiles/2e74f94b232c5a0cc3e75b4eaaf64c90.jpg.50x50_q85.jpg)
simulate satellite program structure
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
--- 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);