This project demonstrates Timer1 Input Capture Mode on ATmega328P (Arduino UNO) using register-level programming. The timer captures the value of TCNT1 whenever a rising edge appears on the ICP1 pin (PD6 / Arduino D8) and stores it in the ICR1 register. The captured timer value is displayed via Serial Monitor.
-
Updated
Oct 27, 2025 - C++