Chris Pepper / Mbed 2 deprecated SimpleSerialProtocolExample

Dependencies:   mbed SimpleSerialProtocol MODSERIAL

Revision:
10:f6862abba2d5
Parent:
9:81ea54f202e9
Parent:
6:d33e929ebaa9
Child:
11:a051c3f9ca6d
--- a/TestProtocol.h	Sun Jul 29 19:38:22 2012 +0000
+++ b/TestProtocol.h	Sun Jul 29 19:46:09 2012 +0000
@@ -7,7 +7,7 @@
 //class will receive a packet and echo it back out
 class TestProtocol : public SimpleSerialProtocol::Protocol {
 public:
-    TestProtocol() : Protocol(p9, p10, NC) { //LED1 to 4 for a status led, NC to disable
+    TestProtocol() : Protocol(USBTX, USBRX, LED1) { //LED1 to 4 for a status led, NC to disable
         receiveCallback(1, this, &TestProtocol::onEchoPacket);
     }
     virtual ~TestProtocol() {};