mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 09:36:59 +00:00
29 lines
474 B
Plaintext
29 lines
474 B
Plaintext
.. csv-table::
|
|
:header: "Event", "Example"
|
|
:widths: 30, 20
|
|
|
|
"
|
|
``GPS#GotFix``
|
|
Will trigger when the GPS unit got a good position from the satellites.
|
|
","
|
|
|
|
.. code-block:: html
|
|
|
|
on GPS#GotFix do
|
|
GPIO,2,1 //LED on
|
|
endon
|
|
|
|
"
|
|
"
|
|
``GPS#LostFix``
|
|
Will trigger when the GPS unit is not having a good position from the satellites.
|
|
","
|
|
|
|
.. code-block:: html
|
|
|
|
on GPS#LostFix do
|
|
GPIO,2,0 //LED off
|
|
endon
|
|
|
|
"
|