
nrf51822 LED demo
Dependencies: BLE_API mbed nRF51822
Fork of BLE_LED by
Revision 11:6b95a346f449, committed 2017-04-03
- Comitter:
- zhangyx
- Date:
- Mon Apr 03 04:02:14 2017 +0000
- Parent:
- 10:af76616e4d75
- Commit message:
- modify LED connections
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r af76616e4d75 -r 6b95a346f449 main.cpp --- a/main.cpp Tue Jan 12 10:34:34 2016 +0000 +++ b/main.cpp Mon Apr 03 04:02:14 2017 +0000 @@ -18,8 +18,8 @@ #include "ble/BLE.h" #include "LEDService.h" -DigitalOut alivenessLED(LED1, 0); -DigitalOut actuatedLED(LED2, 0); +DigitalOut alivenessLED(P0_5, 0); +DigitalOut actuatedLED(P0_7, 0); const static char DEVICE_NAME[] = "LED"; static const uint16_t uuid16_list[] = {LEDService::LED_SERVICE_UUID};