![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Using the MBED BLE library and Nordic Puck library this is a simple scoring application using Bluetooth LE. It monitors three analog inputs and triggers on reception of a pulse on any one recording data for a short period on all three. This is then published via BLE characteristics. It's a demonstrator for a new UI dev toolkit that is under development.
Fork of Example_Puck_BLE by
Diff: main.cpp
- Revision:
- 8:87a3708dca9c
- Parent:
- 7:dc08df448ddc
- Child:
- 9:f2b2ebc6d908
diff -r dc08df448ddc -r 87a3708dca9c main.cpp --- a/main.cpp Sat Aug 23 20:44:36 2014 +0000 +++ b/main.cpp Sat Aug 23 20:50:06 2014 +0000 @@ -47,8 +47,6 @@ sampleTimeout.attach_us(&SampleService, sampleIntervalUs); - return; - // service all channel's state machines bool isAnyChannelSampling = false; for (int chanIdx = 0; chanIdx < NUM_SAMPLE_CHANNELS; chanIdx++) @@ -187,8 +185,6 @@ lastServiceCount = serviceCount; } - continue; - // Check for data ready for (int chanIdx = 0; chanIdx < NUM_SAMPLE_CHANNELS; chanIdx++) {