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>

View File

@@ -21,7 +21,7 @@
<dt>payload <span class="property-type">数値</span></dt>
<dd>ペイロードには0 または 1 が設定されます</dd>
<dt>topic <span class="property-type">文字列</span></dt>
<dd>トピックには<code>pi/{ピン番号}</code></dd>
<dd>トピックには<code>gpio/{ピン番号}</code></dd>
</dl>
<h3>詳細</h3>
<p>入力のプルアップ抵抗またはプルダウン抵抗を有効にすることもできます</p>

View File

@@ -21,7 +21,7 @@
<dt>payload <span class="property-type">수치</span></dt>
<dd>페이로드에는, 0 또는 1 설정됩니다.</dd>
<dt>topic <span class="property-type">문자열</span></dt>
<dd>토픽에는, <code>pi/{ 번호}</code> .</dd>
<dd>토픽에는, <code>gpio/{ 번호}</code> .</dd>
</dl>
<h3>상세</h3>
<p>입력의 저항 또는, 다운 저항을 유효화 수도 있습니다.</p>