Mercury API
GpioPin Constructor (id, high, output)
NamespacesThingMagicGpioPinGpioPin(Int32, Boolean, Boolean)
Create a GpioPin object with direction
Declaration Syntax
C#Visual BasicVisual C++
public GpioPin(
	int id,
	bool high,
	bool output
)
Public Sub New ( _
	id As Integer, _
	high As Boolean, _
	output As Boolean _
)
public:
GpioPin(
	int id, 
	bool high, 
	bool output
)
Parameters
id (Int32)
GPIO pin number
high (Boolean)
True for pin high, False for pin low
output (Boolean)
True for output pin, False for input pin

Assembly: MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)