GrovePi.DigitalWrite(GrovePort, PinValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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