Method DigitalWrite NamespaceBonsai.Arduino AssemblyBonsai.Arduino.dll DigitalWrite(int, bool) Sets the state of the specified digital output pin. public void DigitalWrite(int pin, bool value) Parameters pin int The number of the digital pin to write. value bool true to set the pin HIGH; false to set the pin LOW.