Site updated at 2017-09-26 07:14:23 UTC
This commit is contained in:
parent
80847eb95a
commit
b723b0750d
415 changed files with 2329 additions and 1581 deletions
|
@ -106,7 +106,7 @@
|
|||
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
|
||||
<p>In this section you find some real life examples of how to use this switch.</p>
|
||||
<h3><a class="title-link" name="arest-device" href="#arest-device"></a> aREST device</h3>
|
||||
<p>The example below is doing the same as the <a href="/components/switch.arest/">aREST switch</a>. The commandline tool <a href="http://curl.haxx.se/"><code class="highlighter-rouge">curl</code></a> is used to toggle a pin which is controllable through REST.</p>
|
||||
<p>The example below is doing the same as the <a href="/components/switch.arest/">aREST switch</a>. The command line tool <a href="http://curl.haxx.se/"><code class="highlighter-rouge">curl</code></a> is used to toggle a pin which is controllable through REST.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">switch</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">command_line</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue