Skip to content

Commit fb06913

Browse files
committed
Remove chord code
1 parent e015dc2 commit fb06913

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/source/api/power-board.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,6 @@ Example
127127
print(f"Battery voltage: {volts}")
128128
129129
130-
# Play a chord for 2 seconds
131-
chord_notes = [Note.D6, Note.A6, Note.C7, Note.D7, Note.F7]
132-
for note in chord_notes:
133-
r.power_board.piezo.buzz(2, note)
134-
135-
136130
# Play a tune
137131
tune_notes = [Note.D6, Note.G6, Note.A6, Note.D7, Note.F7, Note.A7, Note.C8]
138132
note_length = 0.25 # 4 notes per second

0 commit comments

Comments
 (0)