Pulse width measurement with Arduino

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

mnf
Valued Contributor
Valued Contributor
Posts: 1208
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 440 times

Re: Pulse width measurement with Arduino

Post by mnf »

I'll learn something here too - having failed to get PWM working at all when I played with it....

Martin

ChrisT66
Posts: 67
Joined: Mon Jul 13, 2020 3:00 pm

Re: Pulse width measurement with Arduino

Post 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
Attachments
Pulse width Measurement v4b.fcfx
(21.54 KiB) Downloaded 191 times

Post Reply