mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
55_PIFACE: commandref: link structure changed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24744 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
07fb462430
commit
113de5d15b
@ -527,16 +527,15 @@ sub PIFACE_Shutdown($) {
|
||||
|
||||
<a id="PIFACE-set"></a>
|
||||
<b>Set</b><br/>
|
||||
<ul>
|
||||
|
||||
<br/>
|
||||
<ul><br/>
|
||||
<code>set <name> <port> <value></code>
|
||||
<br/><br/>
|
||||
<ul>
|
||||
<li>set single port n to 1 (on) or 0 (off)<br/><br/>
|
||||
Examples:<br/>
|
||||
set <name> 3 1 => set port 3 on<br/>
|
||||
set <name> 5 0 => set port 5 off<br/></li>
|
||||
set <name> 5 0 => set port 5 off<br/>
|
||||
</li>
|
||||
<br/>
|
||||
<li>set all ports in one command by bitmask<br/><br/>
|
||||
Example:<br/>
|
||||
@ -549,7 +548,6 @@ sub PIFACE_Shutdown($) {
|
||||
bit 10101010</code>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
@ -592,10 +590,10 @@ sub PIFACE_Shutdown($) {
|
||||
[defaultState] = off is default.<br>
|
||||
Restoration of the status of the output port after a Fhem reboot.
|
||||
</li>
|
||||
<li><a href="#PIFACE_disable">disable</a> 0|1<br>
|
||||
<li><a href="#disable">disable</a> 0|1<br>
|
||||
If applied set commands will not be executed.
|
||||
</li>
|
||||
<li><a href="#PIFACE_disabledForIntervals">disabledForIntervals</a> HH:MM-HH:MM HH:MM-HH-MM...<br>
|
||||
<li><a href="#disabledForIntervals">disabledForIntervals</a> HH:MM-HH:MM HH:MM-HH-MM...<br>
|
||||
Space separated list of HH:MM tupels. If the current time is between
|
||||
the two time specifications, set commands will not be executed. Instead of
|
||||
HH:MM you can also specify HH or HH:MM:SS. To specify an interval
|
||||
@ -608,7 +606,14 @@ sub PIFACE_Shutdown($) {
|
||||
[pollInterval] = off is default.<br>
|
||||
Define the polling interval of the input ports in seconds.
|
||||
</li>
|
||||
<li><a id="PIFACE-attr-portMode<0..7>">portMode<0..7></a> tri|up,
|
||||
<li><a id="PIFACE-attr-portMode0">portMode0</a><br>
|
||||
<a id="PIFACE-attr-portMode1">portMode1</a><br>
|
||||
<a id="PIFACE-attr-portMode2">portMode2</a><br>
|
||||
<a id="PIFACE-attr-portMode3">portMode3</a><br>
|
||||
<a id="PIFACE-attr-portMode4">portMode4</a><br>
|
||||
<a id="PIFACE-attr-portMode5">portMode5</a><br>
|
||||
<a id="PIFACE-attr-portMode6">portMode6</a><br>
|
||||
<a id="PIFACE-attr-portMode7">portMode7</a> tri|up,
|
||||
[portMode<0..7>] = tri is default.<br>
|
||||
This enables (up) or disables (tri) the internal pull-up resistor on the given input port.
|
||||
You need to enable the pull-up if you want to read any of the on-board switches on the PiFace board.
|
||||
|
Loading…
x
Reference in New Issue
Block a user