PwmIn library, Errorhandling?

Jan,
Thank you for your replay.

I was hoping you would say, “Use this lib instead…” but I will follow one of your suggestions and fix an error detection method.

Brest regards, Stefan