Test using the base BLE_HeartRate example to see the effect of increasing the "ticker" rate on stability (intending to do AnalogIn around 1ms rate)
Dependencies: BLE_API mbed nRF51822
Diff: main.cpp
- Revision:
- 2:7de236382497
- Parent:
- 1:259fe4d2ab16
- Child:
- 3:0fc7c2d73a24
--- a/main.cpp Mon Sep 29 11:17:04 2014 +0000 +++ b/main.cpp Mon Sep 29 12:48:15 2014 +0000 @@ -35,7 +35,7 @@ #endif /* #if NEED_CONSOLE_OUTPUT */ // Sample interval (uS) -volatile uint32_t sampleIntervalUs = 1000; +volatile uint32_t sampleIntervalUs = 2000; // Timer to do the sampling etc Timer intervalTimer;