van
Dependencies: BLE_API mbed VAN
Fork of BLE_iBeacon_POC by
Diff: main.cpp
- Revision:
- 30:746d37d781de
- Parent:
- 27:8d4f5bda1191
- Child:
- 31:93e50a3c3dc6
diff -r bf3c27639f58 -r 746d37d781de main.cpp --- a/main.cpp Tue Jun 10 09:31:24 2014 +0000 +++ b/main.cpp Tue Jun 10 10:46:45 2014 +0100 @@ -20,8 +20,6 @@ BLEPeripheral ble; /* BLE radio driver */ DigitalOut mainloopLED(LED1); -DigitalOut tickerLED(LED2); -Ticker flipper; Serial pc(USBTX,USBRX); /* @@ -50,18 +48,11 @@ 0xC8 // 2's complement of the Tx power (-56dB) }; -void tickerCallback(void) -{ - tickerLED = !tickerLED; -} - void setupAppHardware(void) { /* Setup blinkies: mainloopLED is toggled in main, tickerLED is * toggled via Ticker */ mainloopLED = 1; - tickerLED = 1; - flipper.attach(&tickerCallback, 1.0); } int main(void)