Skip to content

Commit

Permalink
vinscant: tried to "fix" music
Browse files Browse the repository at this point in the history
  • Loading branch information
draxaris1010 committed Jun 11, 2024
1 parent b7f0135 commit 2e7e3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vinscant/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2e7e3a7

Please sign in to comment.