mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-15 11:05:08 +00:00
31 lines
783 B
Plaintext
31 lines
783 B
Plaintext
.. These P001 commands should be moved to core (P000)...
|
|
|
|
:ref:`P000_page` |P000_status|
|
|
|
|
Supported hardware: |P000_usedby_RTTTL| (Ringtones etc.)
|
|
|
|
.. csv-table::
|
|
:header: "Command (GPIO/Value)", "Extra information"
|
|
:widths: 20, 30
|
|
|
|
"
|
|
``tone,<gpio>,<tone>,<duration>``
|
|
|
|
GPIO: 12 ... 16
|
|
|
|
Tone: 20 ... 13000 Hz
|
|
|
|
Duration: 100 ... 15000 S
|
|
","
|
|
You should try to use GPIO 12...16 since these generally aren't used. The recommended tone range is 20...13000 but you could try tones outside this range. Duration is set in ms.
|
|
"
|
|
"
|
|
``rtttl,<gpio>,<value>``
|
|
|
|
GPIO: 12 ... 16
|
|
|
|
Value: d=<duration>,o=<octave>,b=<tempo>,<notes...>
|
|
","
|
|
You should try to use GPIO 12...16 since these generally aren't used by ESP internal functions.
|
|
"
|