Skip to content

Commit 51f13c7

Browse files
committed
Copy edit
1 parent 7188b12 commit 51f13c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

buzzer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Buzzers
22

3-
There are two main types of buzzer - *active* and *passive*.
3+
There are two main types of buzzer: *active* and *passive*.
44

5-
An *passive* buzzer emits a tone when a voltage is applied across it. A passive buzzer requires a specific signal to generate a variety of tones. The *active* buzzers are a lot simpler to use, so these are covered here.
5+
A *passive* buzzer emits a tone when a voltage is applied across it. It also requires a specific signal to generate a variety of tones. The *active* buzzers are a lot simpler to use, so these are covered here.
66

77
## Connecting a buzzer
88

99
An *active* buzzer can be connected just like an LED, but as they are a little more robust, you won't be needing a resistor to protect them.
1010

11-
Set up the circuit as shown below.
11+
Set up the circuit as shown below:
1212

1313
![buzzer](images/buzzer-circuit.png)
1414

@@ -25,7 +25,7 @@ Set up the circuit as shown below.
2525
buzzer = Buzzer(17)
2626
```
2727

28-
1. In gpio zero, a `Buzzer` works exactly like an `LED`, so try adding a `buzzer.on()` and `buzzer.off()` into your loop:
28+
1. In GPIO Zero, a `Buzzer` works exactly like an `LED`, so try adding a `buzzer.on()` and `buzzer.off()` into your loop:
2929

3030
```python
3131
while True:

0 commit comments

Comments
 (0)