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 reScale USBDevice
Diff: main.cpp
- Revision:
- 3:fa0af3a8e089
- Parent:
- 1:79c03ac27b72
- Child:
- 4:18c6ff1370d0
diff -r 79c03ac27b72 -r fa0af3a8e089 main.cpp
--- a/main.cpp Fri Feb 08 20:51:59 2019 +0000
+++ b/main.cpp Sat Feb 09 23:46:05 2019 +0000
@@ -31,7 +31,7 @@
int main() {
-
+
//pc.printf("HELLO WORLD\n");
@@ -41,6 +41,8 @@
uint8_t c = 0; // for 485 link
while(1) {
+
+
while (device.readable())
{
@@ -185,6 +187,11 @@
}
+dir= 1;
+ wait(0.1);
+device.printf("M-");
+//device.printf("0");
+dir=0;
}