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.
Fork of Working_Client_Code by
Revision 8:f277f86f75bb, committed 2016-06-10
- Comitter:
- jcochra
- Date:
- Fri Jun 10 10:37:56 2016 +0000
- Parent:
- 7:1119c6781d17
- Commit message:
- WORKING CODE;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jun 10 09:51:57 2016 +0000 +++ b/main.cpp Fri Jun 10 10:37:56 2016 +0000 @@ -238,13 +238,13 @@ case 9: { resp=OKResponse(buffer,"OK"); if (resp!=NULL) { INFO("Ready"); - wait(2); + wait(0.2); char buf[32]; range = obstruction_finder(); - sprintf(buf,"Range=%04d\r\n",range); + sprintf(buf,"OB=%01d\r\n",range); //dev.printf("AT+CIPSERVER= 1,6060"); dev.printf("AT+CIPSEND=0,%d\r\n",strlen(buf)); //10 = length of string being sent - wait(2); + wait(0.2); dev.printf("%s",buf); //10 = length of string being sent //range=(range++)%6000;