You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sentence does not match the example "solution" and the HAL API in use:
✅ Initiate the Io peripheral, and create a `led` variable from GPIO connected to the LED, using the
[`into_push_pull_output` function][into-push-pull-output].
This sentence does not match the example "solution" and the HAL API in use:
https://github.com/esp-rs/no_std-training/blob/main/book/src/03_2_blinky.md?plain=1#L30C1-L32C1
The
esp-hal
API requires that theled
variable be created as anOutput
using theOutput::new()
function:https://docs.rs/esp-hal/0.23.1/esp_hal/gpio/index.html
The similarly named
esp32-hal
crate has a function calledinto_push_pull_output()
which might be where this inconsistency arose.I think I've got this the right way around. Regardless of which API is meant to be used, the example solution and the docs don't match.
The text was updated successfully, but these errors were encountered: