f3
f3 copied to clipboard
Examples fail to build
$ cargo build --examples
Compiling f3 v0.6.1 (/Users/rubberduck/src/f3)
error: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
--> src/led.rs:168:18
|
168 | self.pex.set_low()
| ^^^^^^^
|
note: lint level defined here
--> src/lib.rs:40:9
|
40 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
error: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
--> src/led.rs:173:18
|
173 | self.pex.set_high()
| ^^^^^^^^
error: aborting due to 2 previous errors
error: could not compile `f3`.
To learn more, run the command again with --verbose.