You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: buzzer.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Buzzers
2
2
3
-
There are two main types of buzzer -*active* and *passive*.
3
+
There are two main types of buzzer:*active* and *passive*.
4
4
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.
6
6
7
7
## Connecting a buzzer
8
8
9
9
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.
10
10
11
-
Set up the circuit as shown below.
11
+
Set up the circuit as shown below:
12
12
13
13

14
14
@@ -25,7 +25,7 @@ Set up the circuit as shown below.
25
25
buzzer = Buzzer(17)
26
26
```
27
27
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:
0 commit comments