software : Psoc Creator3.3
Sample code :BLE Heart rate sensor
Hardware :CY5671 Proc BLE Module, Mini Prog3, Heart rate sensor
I'd like to connect a pulse sensor to cy5671. A pulse sensor can output 0 and 1 digitally. I'd like to acquire bpm from its acquisition value. Where should a code be described? I want you to tell me.
Use a timer and a count component to count how many pulses you get in one second. Or use just a counter, clocked by e.g. 10 kHz to measure how long a period of the pulse is.