Measuring the distance of an object
-
Updated
Apr 5, 2023 - Makefile
Measuring the distance of an object
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.
A sensor measures the RPM and displays it on a LCD display using ATmega328p.
Add a description, image, and links to the input-capture-unit topic page so that developers can more easily learn about it.
To associate your repository with the input-capture-unit topic, visit your repo's landing page and select "manage topics."