KY039 Arduino Heart rate code

Hi guys, thank you for your effort for explaining it. I followed the commented code, I can understand it now however it is still giving me the same results.

yttytyt.png