I'll learn something here too - having failed to get PWM working at all when I played with it....
Martin
Pulse width measurement with Arduino
Moderator: Benj
Re: Pulse width measurement with Arduino
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
I want to save the start value of the pulse width...
Do you have an idea? Thanks a lot, greetings Chris
- Attachments
-
- Pulse width Measurement v4b.fcfx
- (21.54 KiB) Downloaded 191 times