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 SimpleSerialProtocol MODSERIAL
Revision 13:e27d84516fa8, committed 2014-09-19
- Comitter:
- p3p
- Date:
- Fri Sep 19 15:51:52 2014 +0000
- Parent:
- 12:1d1d8425c79c
- Commit message:
- SSP api change
Changed in this revision
| SimpleSerialProtocol.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SimpleSerialProtocol.lib Thu Sep 18 17:38:14 2014 +0000 +++ b/SimpleSerialProtocol.lib Fri Sep 19 15:51:52 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/p3p/code/SimpleSerialProtocol/#43794e0b738f +http://mbed.org/users/p3p/code/SimpleSerialProtocol/#5caff50e14a7
--- a/main.cpp Thu Sep 18 17:38:14 2014 +0000
+++ b/main.cpp Fri Sep 19 15:51:52 2014 +0000
@@ -21,10 +21,8 @@
SimpleSerialProtocol::Protocol comms(USBTX, USBRX, LED1);
//the main loop
-int main() {
- SimpleSerialProtocol::Codec codec;
-
- comms.initialise(115200, &codec);
+int main() {
+ comms.initialise(115200);
comms.receiveCallback(1, &testProtocol, &TestProtocol::onEchoPacket);
while (1) {