added comment

This commit is contained in:
shufps 2024-06-28 14:43:39 +02:00
parent ece6203a99
commit b2a0eb3cb4

View File

@ -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