From 593694fb9debd8e101fa28c76caa1a2840f5e703 Mon Sep 17 00:00:00 2001 From: draxaris1010 Date: Tue, 11 Jun 2024 16:18:18 +0200 Subject: [PATCH] vinscant: "fix" music --- vinscant/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vinscant/music.py b/vinscant/music.py index 77505d3..8c88fbf 100644 --- a/vinscant/music.py +++ b/vinscant/music.py @@ -5,7 +5,7 @@ def __init__(self, melody: io.IOBase, pin: Pin) -> None: self.melody = melody self.pin = pin self.pwm: PWM = PWM(pin, freq=1, duty_u16=0) - self.timer = Timer(1) + self.timer = Timer(0) @staticmethod def midi_to_freq(note: int):