Hello! How can I set the timer to work in capture mode? In my program, there is a block measuring speed, interrupt on it does not work exactly. There is a random error when using micros() function. I want to make it on a timer. I would be grateful for help with an example.
Sorry for my English