Skip to content

Commit

Permalink
Merge pull request #63 from FoamyGuy/higher_tones
Browse files Browse the repository at this point in the history
use higher tones in docstring examples
  • Loading branch information
ladyada authored Nov 9, 2024
2 parents d8b97ba + 4135c79 commit 0f8c432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions adafruit_clue.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,9 @@ def start_tone(self, frequency: int):
while True:
if clue.button_a:
clue.start_tone(523)
clue.start_tone(1600)
elif clue.button_b:
clue.start_tone(587)
clue.start_tone(2000)
else:
clue.stop_tone()
"""
Expand Down Expand Up @@ -779,9 +779,9 @@ def stop_tone(self):
while True:
if clue.button_a:
clue.start_tone(523)
clue.start_tone(1600)
elif clue.button_b:
clue.start_tone(587)
clue.start_tone(2000)
else:
clue.stop_tone()
"""
Expand Down

0 comments on commit 0f8c432

Please sign in to comment.