1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
.. GPIO Zero: a library for controlling the Raspberry Pi's GPIO pins
..
.. Copyright (c) 2019-2023 Dave Jones <dave@waveform.org.uk>
..
.. SPDX-License-Identifier: BSD-3-Clause
===========
API - Tones
===========
.. module:: gpiozero.tones
GPIO Zero includes a :class:`Tone` class intended for use with the
:class:`~gpiozero.TonalBuzzer`. This class is in the ``tones`` module of GPIO
Zero and is typically imported as follows::
from gpiozero.tones import Tone
Tone
====
.. autoclass:: Tone
:members:
|