Categories
October Surprise 2024

how to start and stop the timer – Programming – Arduino Forum

How do you know? The first thing you do in loop () is start the timer. The last thing you do is stop it. Then, loop () starts over, and you start the timer again. … How long does X1 exist? A few nanoseconds, at most. and also TCNT1 command shows zero value in serial monitor. That’s a little hard to believe, since you never actually print it.