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: NeoStrip SerialDriver mbed-rtos mbed
Revision 6:795411948a6f, committed 2016-01-31
- Comitter:
- rossng
- Date:
- Sun Jan 31 05:32:51 2016 +0000
- Parent:
- 5:522612e4b18d
- Commit message:
- Initial public version
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jan 31 04:31:33 2016 +0000
+++ b/main.cpp Sun Jan 31 05:32:51 2016 +0000
@@ -37,7 +37,7 @@
//set_pattern(strip, 255, 255, 255);
- set_mode(spin);
+ set_mode(flat);
//char* line_buffer = (char*) malloc(100*sizeof(char));
@@ -50,7 +50,8 @@
c = rpi.getc(); // get actual mode message
- rpi.putc('\x06');
+ wait(0.1);
+ rpi.putc('\x3A');
pc.printf("MBED: sent ack after receiving %c\r\n", c);