Edit

Share via


GrovePi.DigitalWrite(GrovePort, PinValue) Method

Definition

Write a digital pin, equivalent of digitalWrite on Arduino

public void DigitalWrite (Iot.Device.GrovePiDevice.Models.GrovePort pin, System.Device.Gpio.PinValue pinLevel);
member this.DigitalWrite : Iot.Device.GrovePiDevice.Models.GrovePort * System.Device.Gpio.PinValue -> unit
Public Sub DigitalWrite (pin As GrovePort, pinLevel As PinValue)

Parameters

pin
GrovePort

The GroovePi pin to read

pinLevel
PinValue

High to put the pin high, Low to put the pin low

Applies to