GrovePi.AnalogWrite(GrovePort, Byte) 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 an analog pin (PWM pin), equivalent of analogWrite on Arduino
public void AnalogWrite (Iot.Device.GrovePiDevice.Models.GrovePort pin, byte value);
member this.AnalogWrite : Iot.Device.GrovePiDevice.Models.GrovePort * byte -> unit
Public Sub AnalogWrite (pin As GrovePort, value As Byte)
Parameters
- pin
- GrovePort
The GroovePi pin to write
- value
- Byte
The value to write between 0 and 255