Get directions of all GPIO pins

Declaration Syntax
public int[] getGPIODirection(
bool wantOut
)
Public Function getGPIODirection ( _
wantOut As Boolean _
) As Integer()
public:
array<int>^ getGPIODirection(
bool wantOut
)

Parameters
- wantOut (Boolean)
- false = get inputs, true = get outputs///

Return Value
list of pins that are set in the requested direction
Assembly:
MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)