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.
Dependents: Nucleo_NHK_2018_syudo_wheel a_team_R1370 Nucleo_NHK_2018_syudo_wheel 2018NHK_gaku_ver2 ... more
Diff: SerialMultiByte.cpp
- Revision:
- 3:dd947d95765a
- Parent:
- 1:a28d64ee7a79
--- a/SerialMultiByte.cpp Wed Aug 29 04:39:35 2018 +0000
+++ b/SerialMultiByte.cpp Wed Sep 12 13:29:50 2018 +0000
@@ -25,6 +25,8 @@
bufferSize = dataSize + 3;
data = new uint8_t[bufferSize];
thread.start(callback(this, &SerialMultiByte::receiveLoop));
+
+// ticker.attach(callback(this, &SerialMultiByte::receiveLoop),1.0/200.0);
attach(callback(this, &SerialMultiByte::receiveByte));
}