mechanical-switch-copy2

hio/nwt-gus-hi/mechanical-switch-copy2

Represents a switch which suffers from bouncing when engaged or disengaged (e.g., reed switch, push-button, mercury switch, bumper switch, rocker switch).
mechanical-switch-copy2
@/mechanical-switch-copy2
Represents a switch which suffers from bouncing when engaged or disengaged (e.g., reed switch, push-button, mercury switch, bumper switch, rocker switch).
PORTport
The board port to which the sensor is connected. The built-in pull-up resistor is enabled on read
Tbnumber
The maximal time of signal bounce on a switch in seconds. Changes during this time window are ignored to settle down the contact
UPDpulse
Trigger sensor update, that is starts a new reading
mechanical-switch-copy2
VAL
OK
PORT
Tb
UPD
OKpulse
Pulses when a reading completes successfully
VALboolean
The last read value
To use the node in your project you should have the hio/nwt-gus-hi 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.