-
Notifications
You must be signed in to change notification settings - Fork 2
Devices: Flip Flop
Mathieu Lomax edited this page Aug 8, 2019
·
1 revision
Toggles a stored boolean value when the input toggles.
I/O | Num | Type |
---|---|---|
In | 0 | bool |
Out | 0 | bool |
Trigger
Value | Description |
---|---|
Exit Only | Trips a wire when the value changes from True to False
|
Enter Only | Trips a wire when the value changes from False to True
|
Enter and Exit | Both of the above |
This device is the key to interacting with the vanilla wiring system. The device's function is perfectly suited to convert between WireMod's 'constant value' system and the vanilla 'electrical pulse' system.
See the Automatic Door Example for a simple use case using the default Enter and Exit
trigger.