Click or drag to resize

IOLineToggle Method

If the line is an output this function will invert the state of the line e.g. if the line was closed (1) it will become open (0) or if the line was open (0) it will become closed (1) only valid for Digital outputs

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int Toggle()

Return Value

Int32
The new line Value, 1 or 0
See Also