projector - delay function screws rpm measurement

Which board? The timers have different names between Atmega8 and Atmega168.