File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,20 @@ Control a passive buzzer or speaker that can play different tones or frequencies
168168
169169.. literalinclude :: examples/speaker.py
170170
171+ Play a tune
172+ ~~~~~~~~~~~
173+
174+ Play a tune of note names and durations in beats:
175+
176+ .. literalinclude :: examples/speaker_tune.py
177+
178+ Play individual notes
179+ ~~~~~~~~~~~~~~~~~~~~~
180+
181+ Play individual notes and control the timing or perform another action:
182+
183+ .. literalinclude :: examples/speaker_notes.py
184+
171185Motor
172186-----
173187
@@ -191,20 +205,6 @@ Move the rover *roughly* in a square:
191205
192206.. literalinclude :: examples/robot_rover_square.py
193207
194- Play a tune
195- ~~~~~~~~~~~
196-
197- Play a tune of note names and durations in beats:
198-
199- .. literalinclude :: examples/speaker_tune.py
200-
201- Play individual notes
202- ~~~~~~~~~~~~~~~~~~~~~
203-
204- Play individual notes and control the timing or perform another action:
205-
206- .. literalinclude :: examples/speaker_notes.py
207-
208208Internal Temperature Sensor
209209---------------------------
210210
You can’t perform that action at this time.
0 commit comments