Page 4 of 4

Re: Pulse width measurement with Arduino

Posted: Wed Jul 22, 2020 6:35 pm
by mnf
I'll learn something here too - having failed to get PWM working at all when I played with it....

Martin

Re: Pulse width measurement with Arduino

Posted: Sat Jul 25, 2020 10:22 am
by ChrisT66
A question: Why do I always get a zero as result for my variable Result (written at the beginning in line 2 of the display) after switching on? The clock is available directly after the start and the interrupt should be used to calculate the pulse width, right?
I want to save the start value of the pulse width...

Do you have an idea? Thanks a lot, greetings Chris