
simulate satellite program structure
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Fork of Lab7-01_template by
Revision 21:8df80d4e6003, committed 2019-08-20
- Comitter:
- HEPTA
- Date:
- Tue Aug 20 10:09:40 2019 +0000
- Parent:
- 20:8bc48b6ac23d
- Child:
- 22:53272682b389
- Commit message:
- revision
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);