This commit is contained in:
Bruno Bousquet 2024-05-29 10:02:54 -04:00
parent 292c1dd0b8
commit a87b333034
2 changed files with 8 additions and 2 deletions

View File

@ -46,6 +46,9 @@ async fn main(spawner: Spawner) {
let period = pwm_input.get_period_ticks();
let width = pwm_input.get_width_ticks();
let duty_cycle = pwm_input.get_duty_cycle();
info!("period ticks: {} width ticks: {} duty cycle: {}", period, width, duty_cycle);
info!(
"period ticks: {} width ticks: {} duty cycle: {}",
period, width, duty_cycle
);
}
}

View File

@ -46,6 +46,9 @@ async fn main(spawner: Spawner) {
let period = pwm_input.get_period_ticks();
let width = pwm_input.get_width_ticks();
let duty_cycle = pwm_input.get_duty_cycle();
info!("period ticks: {} width ticks: {} duty cycle: {}", period, width, duty_cycle);
info!(
"period ticks: {} width ticks: {} duty cycle: {}",
period, width, duty_cycle
);
}
}