Test HC05 Bluetooth adapter with NUCLEO F401RE. Includes serial command listener will echo commands from remote PC both on that connection and on local PC.
Dependencies: mbed multi-serial-command-listener
Diff: main.cpp
- Revision:
- 2:7927c31fd7af
- Parent:
- 1:667ddd72c851
- Child:
- 3:e985657f12b1
--- a/main.cpp Tue Apr 05 02:29:28 2016 +0000 +++ b/main.cpp Tue Apr 05 02:30:20 2016 +0000 @@ -79,7 +79,7 @@ if (strcmp(myCommand,"clear") == 0) { i = 0; } - myCommand[0] = 0; // clear until we recieve the next one + myCommand[0] = 0; // clear until we recieve the next command } } }