Andrew Lindsay
/
Ciseco_LLAP_Test
Demo usage of LLAP library
Revision 3:537d95945591, committed 2014-04-16
- Comitter:
- SomeRandomBloke
- Date:
- Wed Apr 16 20:28:38 2014 +0000
- Parent:
- 2:d47dac2ce25b
- Child:
- 4:530543332ac3
- Commit message:
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 Wed Apr 16 19:42:05 2014 +0000 +++ b/LLAPSerial.lib Wed Apr 16 20:28:38 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/SomeRandomBloke/code/LLAPSerial/#ec6fbf70d110 +http://mbed.org/users/SomeRandomBloke/code/LLAPSerial/#0745fb4dbd8c
--- 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");