wit-reset

cristian-garcia/wit-fire-detection/wit-reset

Reads a generic button or another mechanical switch. It is expected that the button is low while pressed, the on-board pull-up resistor is enabled if possible. The node provides signal debounce with 20 ms settle delay.
wit-reset
@/wit-reset
Reads a generic button or another mechanical switch. It is expected that the button is low while pressed, the on-board pull-up resistor is enabled if possible. The node provides signal debounce with 20 ms settle delay.
MODboolean
Set to TRUE to implement custom Port selection on node.
PORTport
Input port when custom is enabled.
wit-reset
RESET
DONE
MOD
PORT
DONEpulse
Fires on reading complete
RESETboolean
Last read value. Equals to `true` while the button is pressed (hold down) and `false` while it is released.
To use the node in your project you should have the cristian-garcia/wit-fire-detection library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.