Skip to content

Commit 2c9de27

Browse files
committed
Add note about tonal buzzers
1 parent 62f2310 commit 2c9de27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gpiozero/output_devices.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ class LED(DigitalOutputDevice):
255255
class Buzzer(DigitalOutputDevice):
256256
"""
257257
Extends :class:`DigitalOutputDevice` and represents a digital buzzer
258-
component.
258+
component. Note that this interface is only capable of simple on/off
259+
commands, and is not capable of playing a variety of tones.
259260
260261
Connect the cathode (negative pin) of the buzzer to a ground pin; connect
261262
the other side to any GPIO pin.

0 commit comments

Comments
 (0)