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.
Dependencies: mbed
Diff: src/command.cpp
- Revision:
- 7:860b3a8275cb
- Parent:
- 6:39442d493098
- Child:
- 8:d3d7dca419b3
diff -r 39442d493098 -r 860b3a8275cb src/command.cpp --- a/src/command.cpp Mon Dec 03 01:03:14 2018 +0000 +++ b/src/command.cpp Wed Dec 05 00:20:34 2018 +0000 @@ -1403,15 +1403,22 @@ } else if (!strcmp(commandString, "ALLOFF")) { + //hv_en = 1; - wr_out_code = setBoardEnables(ALLOFF); + //wr_out_code = setBoardEnables((unsigned int)ALLOFF); + my12 = 0; + running = FALSE; //setBoardEnables((unsigned int *)alloff); + if(DEBUG){ + sprintf(strbuf, "wr_out_code=%d\r\n", wr_out_code); + sendSerial(strbuf); + } } else if (!strcmp(commandString, "ALLON")) { //hv_en = 0; //setBoardEnables((unsigned int *)allon); - wr_out_code = setBoardEnables(ALLON); + wr_out_code = setBoardEnables((unsigned int)ALLON); } else if (!strcmp(commandString, "DWL1_OV_TIME")) {