diff --git a/examples/raspberry-pi.rs b/examples/raspberry-pi.rs index 963ed4361c..aa16abb865 100644 --- a/examples/raspberry-pi.rs +++ b/examples/raspberry-pi.rs @@ -8,6 +8,8 @@ fn main() { println!("Setting up your navigator, ahoy!"); nav.init(); + nav.set_pwm_enable(true); + nav.set_pwm_freq_prescale(99); loop { nav.set_pwm_channel_value(PwmChannel::All, 0);