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 MODSERIAL by
Diff: example2.cpp
- Revision:
- 15:a1d9e745d71e
- Parent:
- 13:70bb7c1769fa
- Child:
- 18:21ef26402365
diff -r 3c3b87617bfe -r a1d9e745d71e example2.cpp
--- a/example2.cpp	Tue Feb 08 00:57:48 2011 +0000
+++ b/example2.cpp	Sat Feb 12 08:29:10 2011 +0000
@@ -142,7 +142,7 @@
     messageReceived = false;
     messageSystem.baud(115200);
     messageSystem.attach(&messageReceive, MODSERIAL::RxAutoDetect);
-    messageSystem.autoDectectChar('\n'); 
+    messageSystem.autoDetectChar('\n'); 
 
     // Enable pullup resistors on pins.
     P21.mode(PullUp); P22.mode(PullUp); P23.mode(PullUp); P24.mode(PullUp);
    