Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: PulseSensor.cpp
- Revision:
- 1:4800e2f494f1
- Parent:
- 0:030060e88177
diff -r 030060e88177 -r 4800e2f494f1 PulseSensor.cpp
--- a/PulseSensor.cpp	Thu May 31 21:45:15 2018 +0000
+++ b/PulseSensor.cpp	Tue Jan 21 16:04:23 2020 +0000
@@ -34,7 +34,7 @@
 
 void PulseSensor::sensor_ticker_callback(void)
 {
-    Signal = 1023 * _pAin->read();              // read the Pulse Sensor
+    Signal = 3300 * _pAin->read();              // read the Pulse Sensor
     
     
     sampleCounter += 4;                         // keep track of the time in mS with this variable