public GpioOutput(int gpioId, GPIO_OutputMode_Type type, bool initialValue) : base(Interops.GPIO_OpenAsOutput( gpioId, type, initialValue ? GPIO_Value_Type.GPIO_Value_High : GPIO_Value_Type.GPIO_Value_Low)) { }
public static extern int GPIO_OpenAsOutput( int gpioId, GPIO_OutputMode_Type outputMode, GPIO_Value_Type initialValue);