pub fn f<P: embedded_hal::v2::digitial::InputPin>(pin: &P) {
};
^^^^^^^^^^^^^^^^^^^^ the trait `embedded_hal::digital::v1::InputPin` is not implemented for `&rppal::gpio::pin::InputPin`
I'm not sure why v1's in there. It's not implemented, but I don't understand what I did to require it to be implemented.
Edit: If I wrap the struct and try to manually impl the v1 trait, it argues I'm impling conflicting implementations; this is a second vote for v1 coming out of v2.
I'm not sure why
v1's in there. It's not implemented, but I don't understand what I did to require it to be implemented.Edit: If I wrap the struct and try to manually impl the v1 trait, it argues I'm impling conflicting implementations; this is a second vote for v1 coming out of v2.