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

Files at this revision

API Documentation at this revision

Comitter:
Bobty
Date:
Mon Sep 29 12:48:15 2014 +0000
Parent:
1:259fe4d2ab16
Child:
3:0fc7c2d73a24
Commit message:
Now changed to 2ms but still crashes

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;