HEPTA-Sat Training 2017~2018
/
Lab5-02_Uplink_OK_XBee
Hepta communication
Fork of Lab7-01_template by
Diff: main.cpp
- Revision:
- 16:b8cbd5235640
- Parent:
- 15:85985edfb201
--- a/main.cpp Fri Sep 08 22:41:25 2017 +0000 +++ b/main.cpp Wed Aug 08 11:09:38 2018 +0000 @@ -12,7 +12,7 @@ int rcmd=0,cmdflag=0; for(int i = 0; i < 10; i++) { xbee.printf("num = %d\r\n",i); - 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') {