* using `stm32-hal`: ```rust let mut ec_timer = Timer::new_tim2(dp.TIM2, 2_400., &clock_cfg, &mut dp.RCC); ec_timer.enable_pwm_output(Channel::One, OutputCompare::Pwm1, CountDir::Up, 0.5); ec_timer.enable(); ``` Also, set up the pin in analog mode. It may or may not be the default mode depending on your MCU