func (ino *Goduino) DigitalWrite(pin, value int) error {
	if ino.board.Pins()[pin].Mode != Output {
		if err := ino.PinMode(pin, Output); err != nil {
			return err
		}
	}
	ino.logger.Printf("digitalWrite(%d, %d)\r\n", pin, value)
	return ino.board.DigitalWrite(pin, value)
}
DigitalWrite write a HIGH or a LOW value to a digital pin.

If the pin has been configured as an OUTPUT with pinMode(),
its voltage will be set to the corresponding value:
5V (or 3.3V on 3.3V boards) for HIGH, 0V (ground) for LOW.
package goduino