embedded-hal-mock icon indicating copy to clipboard operation
embedded-hal-mock copied to clipboard

eh0: add pwm mock

Open schphil opened this issue 1 year ago • 1 comments

This is an initial draft for adding a PWM mock in eh0. I'm not sure if differentiation between multiple channels needs to be supported directly. Any feedback would be greatly appreciated.

schphil avatar Oct 17 '23 11:10 schphil

Hi, thanks for the PR!

I wonder how much sense it makes to add new PWM mocks for eh0 if eh1 is nearing completion... A mock for eh1 SetDutyCycle was just merged in #88. What do you think, is this something you'd need/use for quite a while, or would it be replaced very soon?

dbrgn avatar Nov 23 '23 22:11 dbrgn

Closing for now, feel free to leave a comment if you think it's still important.

dbrgn avatar May 26 '24 21:05 dbrgn