![](/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:
- 9:f2b2ebc6d908
- Parent:
- 8:87a3708dca9c
- Child:
- 10:a2ba0cef85aa
diff -r 87a3708dca9c -r f2b2ebc6d908 main.cpp --- a/main.cpp Sat Aug 23 20:50:06 2014 +0000 +++ b/main.cpp Sun Aug 24 20:50:22 2014 +0000 @@ -17,7 +17,7 @@ const UUID DIVISOR_GATT_CHARACTERISTIC = stringToUUID("nod.score1.div "); const UUID INTERVAL_US_GATT_CHARACTERISTIC = stringToUUID("nod.score1.intus"); -const int NUM_SAMPLE_CHANNELS = 1; +const int NUM_SAMPLE_CHANNELS = 3; // Sample interval (uS) uint32_t sampleIntervalUs = 10000;