34_ESPEasy.pm: added core command longpulse_ms

git-svn-id: https://svn.fhem.de/fhem/trunk@16184 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dev0
2018-02-15 08:02:48 +00:00
parent 4c3a05c3a7
commit 152a440bb5

View File

@@ -36,7 +36,7 @@ use Color;
# ------------------------------------------------------------------------------
# global/default values
# ------------------------------------------------------------------------------
my $module_version = "1.35"; # Version of this module
my $module_version = "1.36"; # Version of this module
my $minEEBuild = 128; # informational
my $minJsonVersion = 1.02; # checked in received data
@@ -71,6 +71,7 @@ my %ESPEasy_setCmds = (
"pwmfade" => "3",
"pulse" => "3",
"longpulse" => "3",
"longpulse_ms" => "3",
"servo" => "3",
"lcd" => "3",
"lcdcmd" => "1",
@@ -124,6 +125,7 @@ my %ESPEasy_setCmdsUsage = (
"pwm" => "pwm <pin> <level>",
"pulse" => "pulse <pin> <0|1|off|on> <duration>",
"longpulse" => "longpulse <pin> <0|1|off|on> <duration>",
"longpulse_ms" => "longpulse_ms <pin> <0|1|off|on> <duration>",
"servo" => "servo <servoNo> <pin> <position>",
"lcd" => "lcd <row> <col> <text>",
"lcdcmd" => "lcdcmd <on|off|clear>",
@@ -3156,13 +3158,21 @@ sub ESPEasy_removeGit($)
</li><br>
<li><a name="ESPEasy_device_set_logpulse">LongPulse</a><br>
Direct pulse control of output pins<br>
Direct pulse control of output pins (duration in s)<br>
<ul>
<li>arguments: <code>&lt;pin&gt; &lt;0|1|off|on&gt; &lt;duration&gt;</code></li>
<li>example: <code>set &lt;esp&gt; longpulse 14 on 10</code></li>
</ul>
</li><br>
<li><a name="ESPEasy_device_set_logpulse_ms">LongPulse_ms</a><br>
Direct pulse control of output pins (duration in ms)<br>
<ul>
<li>arguments: <code>&lt;pin&gt; &lt;0|1|off|on&gt; &lt;duration&gt;</code></li>
<li>example: <code>set &lt;esp&gt; longpulse_ms 14 on 10000</code></li>
</ul>
</li><br>
<li><a name="ESPEasy_device_set_pcfgpio">PCFGpio</a><br>
Control PCF8574 (8-bit I/O expander for I2C-bus)<br>
<ul>