fix topic to be clear what it is (gpio not pin)

This commit is contained in:
Dave Conway-Jones
2021-02-11 11:02:00 +00:00
parent 8fa4fbef5f
commit 67fee810eb
5 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
<dt>payload <span class="property-type">number</span></dt>
<dd>the payload will be a 1 or a 0.</dd>
<dt>topic <span class="property-type">string</span></dt>
<dd>the topic will be set to <code>pi/{the pin number}</code>.</dd>
<dd>the topic will be set to <code>gpio/{the bcm spio number}</code>.</dd>
</dl>
<h3>Details</h3>
<p>You may also enable the input pullup resistor or the pulldown resistor.</p>