Arduino Interrupt pins problem

Robin2:
So why not use it?

...R

The reason is that I have some other datas which should be save in an array together with rpm and they are comming in several milliseconds, so I cannot wait one second to save them.Your code has also one second delay to write pulses and without that is not working.