pigpiod html lint ===

This commit is contained in:
Dave Conway-Jones
2017-05-24 19:45:31 +01:00
parent a00fcb3726
commit 4768ecc16c
5 changed files with 91 additions and 28 deletions

View File

@@ -21,6 +21,13 @@
<label for="node-input-round">(optionally)</label>
round to <input type="text" id="node-input-round" placeholder="ignore" style="width:50px;"/> decimal places
</div>
<div class="form-row">
<label for="node-input-mult">Treat</label>
<select id="node-input-mult" style="width:60%; margin-right:5px;">
<option value="single">All msg as one stream.</option>
<option value="multi">Different msg.topic as individual streams.</option>
</select>
</div>
<br/>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
@@ -31,6 +38,7 @@
<script type="text/x-red" data-help-name="smooth">
<p>A simple node to provide various functions across several previous values, including max, min, mean, high and low pass filters.</p>
<p>Messages arriving with different <code>msg.topic</code> can be treated as separate streams if so configured.</p>
<p>Max, Min and Mean work over a specified number of previous values.</p>
<p>The High and Low pass filters use a smoothing factor. The higher the number the more the smoothing. E.g. a value of 10 is
similar to an &alpha; of 0.1. It is analagous to an RC time constant - but there is no time component to this as the
@@ -47,7 +55,8 @@
name: {value:""},
action: {value:"mean"},
count: {value:"10",required:true,validate:RED.validators.number()},
round: {value:""}
round: {value:""},
mult: {value:"single"}
},
inputs: 1,
outputs: 1,