added comment
This commit is contained in:
parent
ece6203a99
commit
b2a0eb3cb4
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ async fn main(_spawner: Spawner) {
|
||||||
let _ch3 = PwmPin::new_ch3(p.PA2, OutputType::PushPull);
|
let _ch3 = PwmPin::new_ch3(p.PA2, OutputType::PushPull);
|
||||||
|
|
||||||
// initialize timer
|
// initialize timer
|
||||||
|
// we cannot use SimplePWM here because the Time is privately encapsulated
|
||||||
let timer = LLTimer::new(p.TIM2);
|
let timer = LLTimer::new(p.TIM2);
|
||||||
|
|
||||||
// set counting mode
|
// set counting mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue