/// <summary> /// Writes the value of the pin. /// </summary> /// <param name="state">if set to <c>true</c>, pin is set to high state.</param> public void Write(bool state) { connection.SetPinStatus(pin, state); }