Fix ledc example to specify a push-pull output
This commit is contained in:
parent
a48ba52107
commit
9d85bc2ffe
@ -73,6 +73,7 @@ fn main() -> ! {
|
|||||||
.configure(channel::config::Config {
|
.configure(channel::config::Config {
|
||||||
timer: &lstimer0,
|
timer: &lstimer0,
|
||||||
duty_pct: 10,
|
duty_pct: 10,
|
||||||
|
pin_config: channel::config::PinConfig::PushPull,
|
||||||
})
|
})
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user