Hi, Tobias

your signal lasts 8 ms @ 125 hz ...

so , just measure time ...


if signal high > 8 ms then it's 100% ...
if signal low > 8 ms then it's 0% ...

Was VERY cold in Denver, last night !!! don't you think ?

Alain