UnknownMiscreant Posted September 18, 2022 Report Share Posted September 18, 2022 Is there any way to decode PWM duty cycle on a digital input on G4x? Would prefer to do it on the ECU rather than messing around rewiring it to an external micro and stuffing it on a CAN frame. Quote Link to comment Share on other sites More sharing options...
Adamw Posted September 18, 2022 Report Share Posted September 18, 2022 What do you mean by "decode"? Do you just want to measure duty cycle? Quote Link to comment Share on other sites More sharing options...
UnknownMiscreant Posted September 18, 2022 Author Report Share Posted September 18, 2022 1 hour ago, Adamw said: What do you mean by "decode"? Do you just want to measure duty cycle? Yes. Sorry for the poor wording. Quote Link to comment Share on other sites More sharing options...
Adamw Posted September 18, 2022 Report Share Posted September 18, 2022 Set it up as a GP frequency input, you will then have parameters "DI* Frequency" and "DI* Duty cycle". Quote Link to comment Share on other sites More sharing options...
UnknownMiscreant Posted September 19, 2022 Author Report Share Posted September 19, 2022 9 hours ago, Adamw said: Set it up as a GP frequency input, you will then have parameters "DI* Frequency" and "DI* Duty cycle". Oh easy. Thankyou. I didn't realize frequency inputs also grabbed duty cycle. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.