Arduino RPM counter with IR sensor

So, did you ever try changing things in the code you copied?
Like, making the off time of the blinking led different to the on time?