Demo usage of LLAP library

Dependencies:   LLAPSerial mbed

Files at this revision

API Documentation at this revision

Comitter:
SomeRandomBloke
Date:
Wed Apr 16 19:42:05 2014 +0000
Parent:
1:808e9257d1ea
Child:
3:537d95945591
Commit message:
added extended constructor

Changed in this revision

LLAPSerial.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/LLAPSerial.lib	Tue Apr 15 22:16:05 2014 +0000
+++ b/LLAPSerial.lib	Wed Apr 16 19:42:05 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/SomeRandomBloke/code/LLAPSerial/#8f3ec117823d
+http://mbed.org/users/SomeRandomBloke/code/LLAPSerial/#ec6fbf70d110
--- a/main.cpp	Tue Apr 15 22:16:05 2014 +0000
+++ b/main.cpp	Wed Apr 16 19:42:05 2014 +0000
@@ -29,7 +29,7 @@
 
 //LLAPSerial srf(PA_11, PA_12);
 // or
-LLAPSerial srf(PA_11, PA_12, "MB");
+LLAPSerial srf(PA_11, PA_12, false,"MB");
 
 Serial pc(USBTX, USBRX);
 
@@ -50,7 +50,7 @@
     srf.sendIntWithDP("TMPA", 1230,2);
     while( 1 ) {
         if( srf.bMsgReceived ) {
-            myled = !myled;
+            //myled = !myled;
             pc.printf("Received: %s\n\r",srf.sMessage );
             srf.bMsgReceived = false;   // Clear flag to indicate msg handled
         }