Lab5
Dependencies: mbed HeptaBattery Hepta9axis HeptaXbee
Diff: main.cpp
- Revision:
- 16:3d2684da4695
- Parent:
- 15:9c52d5529b9d
--- a/main.cpp Fri Sep 08 22:46:48 2017 +0000 +++ b/main.cpp Wed Aug 08 11:17:44 2018 +0000 @@ -17,7 +17,7 @@ xbee.printf("num = %d\r\n",i); i++; 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) { if (rcmd == 'a') {