mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Add debounce time to the to BBB input node
This commit is contained in:
@@ -228,7 +228,7 @@ voltage ten times in rapid succession for each input message and output the mean
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-debounce">Debounce</label>
|
||||
<input type="checkbox" id="node-input-debounce" style="display:inline-block; width:auto; vertical-align:top;">
|
||||
<input type="text" id="node-input-debounce" placeholder="debounce time in mS" style="width: 160px"> mS
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-outputOn">Output on</label>
|
||||
@@ -284,7 +284,7 @@ press. When using buttons or switches, enable debouncing to improve reliability.
|
||||
defaults: { // defines the editable properties of the node
|
||||
pin: { value:"", required:true },
|
||||
activeLow: { value:false, required:true },
|
||||
debounce: { value:false, required:true },
|
||||
debounce: { value:0, required:true },
|
||||
outputOn: { value:"both", required:true },
|
||||
updateInterval: { value:60, required:true, validate:RED.validators.number() },
|
||||
topic: { value:"" },
|
||||
|
Reference in New Issue
Block a user