Funciona no redbear
Dependencies: BLE_API mbed nRF51822
Fork of BLE_LED_Controller by
Diff: main.cpp
- Revision:
- 16:bfbf1982815e
- Parent:
- 15:016434184568
- Child:
- 17:3a1cd75f0f78
diff -r 016434184568 -r bfbf1982815e main.cpp --- a/main.cpp Thu Dec 18 21:14:19 2014 +0000 +++ b/main.cpp Tue Aug 30 01:54:17 2016 +0000 @@ -35,7 +35,7 @@ //char rxPayload[CMD_SIZE]; BLEDevice ble; // Create Bluetooth object -DigitalOut led1(LED1); // Set the pin attached to LED1 as an output +DigitalOut led1(P0_19); // Set the pin attached to LED1 as an output PwmOut led2(LED2); // Set the pin attached to LED2 as an output UARTService *uartServicePtr;