mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
added comment
This commit is contained in:
parent
ece6203a99
commit
b2a0eb3cb4
@ -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…
Reference in New Issue
Block a user