Andrew Lindsay
/
Ciseco_LLAP_Test
Demo usage of LLAP library
Diff: main.cpp
- Revision:
- 2:d47dac2ce25b
- Parent:
- 1:808e9257d1ea
- Child:
- 3:537d95945591
--- 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 }