Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 16:b8cbd5235640
- Parent:
- 15:85985edfb201
diff -r 85985edfb201 -r b8cbd5235640 main.cpp --- 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') {