Skip to content

Commit dd5050e

Browse files
committed
Correct image and text to correctly distinguish
between a piezo buzzer and a regular speaker.
1 parent 019d54f commit dd5050e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/tutorials/io.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,21 @@ when you plug in circuits and other devices via the pins.
4545
Bleeps and Bloops
4646
+++++++++++++++++
4747

48-
The simplest thing we can attach to the device is a Piezo speaker. We're going
48+
The simplest thing we can attach to the device is a Piezo buzzer. We're going
4949
to use it for output.
5050

51-
.. image:: piezo.jpg
51+
.. image:: piezo_buzzer.jpg
5252

5353
These small devices play a high-pitched bleep when connected to a circuit. To
5454
attach one to your BBC micro:bit you should attach crocodile clips to pin 0 and
5555
GND (as shown below).
5656

5757
.. image:: pin0-gnd.png
5858

59-
The wire from pin 0 should be attached to the positive connector on the speaker
59+
The wire from pin 0 should be attached to the positive connector on the buzzer
6060
and the wire from GND to the negative connector.
6161

62-
The following program will cause the speaker to make a sound::
62+
The following program will cause the buzzer to make a sound::
6363

6464
from microbit import *
6565

@@ -80,12 +80,12 @@ Can you work out how this script works? Remember that ``1`` is "on" and ``0``
8080
is "off" in the digital world.
8181

8282
The device is put into an infinite loop and immediately switches pin 0 on. This
83-
causes the speaker to emit a beep. While the speaker is beeping, the device
83+
causes the buzzer to emit a beep. While the buzzer is beeping, the device
8484
sleeps for twenty milliseconds and then switches pin 0 off. This gives the
8585
effect of a short bleep. Finally, the device sleeps for 480 milliseconds before
8686
looping back and starting all over again. This means you'll get two bleeps per
8787
second (one every 500 milliseconds).
8888

8989
We've made a very simple metronome!
9090

91-
.. footer:: The image of the pizeo speaker is CC BY-NC-SA 3.0 from https://www.sparkfun.com/products/7950
91+
.. footer:: The image of the pizeo buzzer is CC BY-NC-SA 3.0 from https://www.flickr.com/photos/tronixstuff/4821350094

docs/tutorials/music.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ connected to the speaker.
1111

1212
.. note::
1313

14-
Do not attempt this with a Piezo speaker - such speakers are only able to
14+
Do not attempt this with a Piezo buzzer - such buzzers are only able to
1515
play a single tone.
1616

1717
Let's play some music::

docs/tutorials/piezo.jpg

-81.3 KB
Binary file not shown.

docs/tutorials/piezo_buzzer.jpg

130 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy