File: api_tones.rst

package info (click to toggle)
gpiozero 2.0.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,192 kB
  • sloc: python: 15,355; makefile: 246
file content (24 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
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: