Louis Chauvet

Results 7 comments of Louis Chauvet

To use PwmPin I have to add the trait bound `PwmPin` as the Duty is also generic. Should I make a PR to make WithPwm public ?

Hello, This is my first time contributing here, I don't know if I'm doing it the right way. With this API, I think it would be difficult to write drivers....

The code will not be exactly the same, you have different device initialization on each devices. This crate provide common traits to write generic code. It's mainly useful when writing...

This part of code yes, but the way you have to initialize the GPIO no

Your snippets don't do exactly the same thing. Both of the crate you linked already implements traits from embedded-hal, but not the same version, so it is not possible to...

> Right, so like what does toggle() do compared to set_high()/set_low() don't they both turn on and off the pin? They both blink the leds, but not at the same...

My specific case is to create a common interface for a protocol over can bus between a raspberry-pi and multiple stm32 (which use canfd and bxcan). I don't want to...