Compiling lcd-msg v0.1.0 (C:\msys64\home\William\Projects\ATSAMD\lcd-msg) error[E0277]: the trait bound `trinket_m0::atsamd_hal::gpio::Pin>: _embedded_hal_digital_InputPin` is not satisfied --> src\main.rs:31:9 | 31 | foo(inp); | --- ^^^ the trait `_embedded_hal_digital_InputPin` is not implemented for `trinket_m0::atsamd_hal::gpio::Pin>`, which is required by `trinket_m0::atsamd_hal::gpio::Pin>: trinket_m0::atsamd_hal::embedded_hal::digital::v2::InputPin` | | | required by a bound introduced by this call | = help: the trait `_embedded_hal_digital_InputPin` is implemented for `OldInputPin` = note: required for `trinket_m0::atsamd_hal::gpio::Pin>` to implement `trinket_m0::atsamd_hal::embedded_hal::digital::v2::InputPin` note: required by a bound in `foo` --> src\main.rs:14:11 | 14 | fn foo(bar: I) { | ^^^^^^^^ required by this bound in `foo` For more information about this error, try `rustc --explain E0277`. error: could not compile `lcd-msg` (bin "lcd-msg") due to 1 previous error