Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MODSERIAL mbed-rtos mbed
Fork of Master by
Diff: main.cpp
- Revision:
- 5:37733f175430
- Parent:
- 4:aaaadb45cbd9
- Child:
- 6:df6d8ba1907a
--- a/main.cpp Fri Sep 12 08:08:21 2014 +0000 +++ b/main.cpp Fri Sep 12 11:43:36 2014 +0000 @@ -6,7 +6,7 @@ #include "control.h" //BT_MASTER or BT_SLAVE -#define DEVICE_ROLE BT_MASTER +#define DEVICE_ROLE BT_SLAVE //Serial pc(USBTX, USBRX); // tx, rx @@ -14,9 +14,7 @@ DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led4(LED4); - -DigitalOut myled1(LED1); -DigitalOut myled2(LED2); + void masterLoop(void);