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-manualpull
@/wit-manualpull
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.
POLLpulse
Rate at which to poll analog input for updates.
OUTboolean
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.