Luca Mottola
/
IOTAtelier1819-BLELedControl
BLE example controlling a Led characteristic; goes together with BLELed
Diff: source/main.cpp
- Revision:
- 4:9a6b0d5ea664
- Parent:
- 0:86bf1d2040b3
- Child:
- 12:059c7b7fb18a
--- a/source/main.cpp Sat Jul 30 00:01:16 2016 +0100 +++ b/source/main.cpp Tue Aug 02 10:00:42 2016 +0100 @@ -174,7 +174,7 @@ int main() { triggerLedCharacteristic = false; - eventQueue.post_every(periodicCallback, 500); + eventQueue.post_every(500, periodicCallback); BLE &ble = BLE::Instance(); ble.onEventsToProcess(scheduleBleEventsProcessing);