Closed Lotushu closed 12 months ago
@Lotushu Yes, you appear to be correct. This is a bug in the multiple Pulse Sensor scenario. I'll see what it will take to fix it.
PulseSenor Playground Library supports multiple PulseSensors and each has it's own parameters to set.
The code sets threshold by using pulseSensor.setThreshold(THRESHOLD). But I found out that it doesn't work for the second pulsesensor (pin A1, not A0). It continues to output data whatever threshold I set. So need I to use pulseSensor.setThreshold(THRESHOLD, 0) and pulseSensor.setThreshold(THRESHOLD, 1) to set two thresholds separately?