Hepta communication
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Fork of Lab7-01_template by
Diff: main.cpp
- Revision:
- 14:bf2ca1f15a76
- Parent:
- 13:3e9a9114eb8c
- Child:
- 17:994a95b50791
--- a/main.cpp Fri Sep 08 22:56:42 2017 +0000 +++ b/main.cpp Wed Aug 08 11:33:19 2018 +0000 @@ -19,7 +19,7 @@ int rcmd=0,cmdflag=0; while(1) { wait(1.0); - xbee.xbee_recieve(&rcmd,&cmdflag); + xbee.xbee_receive(&rcmd,&cmdflag); pc.printf("rcmd=%d, cmdflag=%d\r\n",rcmd, cmdflag); if (cmdflag == 1) { pc.printf("Command Get %d\r\n",rcmd);