Pulse counting

Hello,

i've a question in my Arduino code..
i need to use a function to count the pulses my Arduino receives, but doesn't use pulseIn, delay or any loop. I guess it will use timer interrupts
thanks in advance :slight_smile:

How long are your pulses?

if you are not allowed to use loops it will be quite difficult.