Demo usage of LLAP library

Dependencies:   LLAPSerial mbed

Revision:
3:537d95945591
Parent:
2:d47dac2ce25b
Child:
4:530543332ac3
--- a/main.cpp	Wed Apr 16 19:42:05 2014 +0000
+++ b/main.cpp	Wed Apr 16 20:28:38 2014 +0000
@@ -27,20 +27,17 @@
 #include "mbed.h"
 #include "LLAPSerial.h"
 
-//LLAPSerial srf(PA_11, PA_12);
+//LLAPSerial srf(PA_11, PA_12, PA_9);
 // or
-LLAPSerial srf(PA_11, PA_12, false,"MB");
+LLAPSerial srf(PA_11, PA_12, PA_9, false,"MB");
 
 Serial pc(USBTX, USBRX);
 
-DigitalOut srfEnable(PA_9);
-
 int main()
 {
     pc.baud(115200);
     pc.printf("LLAP Test\n");
 
-    srfEnable = 1;
     srf.sendMessage("STARTED");
     wait_ms(100);
     srf.sendMessage("TMPA", "123");