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:
- 6:81494b318e55
- Parent:
- 5:ed9a4f932fcf
- Child:
- 7:dc08df448ddc
--- a/main.cpp Sat Aug 23 09:44:15 2014 +0000 +++ b/main.cpp Sat Aug 23 20:04:36 2014 +0000 @@ -20,7 +20,7 @@ const int NUM_SAMPLE_CHANNELS = 1; // Sample interval (uS) -uint32_t sampleIntervalUs = 100000; +uint32_t sampleIntervalUs = 50000; // Interrupt driven ticker to do the sampling Ticker sampleTicker;