Start with pwm disabled
This commit is contained in:
@@ -85,7 +85,7 @@ fn main() -> ! {
|
||||
let pwm0 = &mut pwm_slices.pwm0;
|
||||
pwm0.set_ph_correct();
|
||||
pwm0.set_div_frac(0);
|
||||
pwm0.enable();
|
||||
pwm0.disable();
|
||||
|
||||
pwm0.channel_a.output_to(pins.gpio16);
|
||||
|
||||
@@ -141,7 +141,7 @@ fn main() -> ! {
|
||||
|
||||
match broadcast_on {
|
||||
true => gfx_buf.draw_string(20, 48, "ON THE AIR"),
|
||||
false => (),
|
||||
false => gfx_buf.draw_string(20, 48, "Offline"),
|
||||
}
|
||||
|
||||
gfx_buf.redraw();
|
||||
|
||||
Reference in New Issue
Block a user