C# pi windows iot pin

  • 43
  • 0

C# pi windows iot pin

  private GpioPin pin21Hight;//21腳位

pin21Hight = gpio.OpenPin(21);
pin21Hight.Write(GpioPinValue.High);
pin21Hight.SetDriveMode(GpioPinDriveMode.Output);