use hw timer

#1
hello
I am using picaxe 18m2 to implement ECG project.
I use the READADC to read the ECG sample and compare to treshold.
I need to tell how many pulses per minuts I detect.

I need to know how to use the timer to open a window for 5 sec and count detects(adc bigger then treshold).

Thanks
Eitan
 
Top