Edit

Share via


GrovePi.AnalogWrite(GrovePort, Byte) Method

Definition

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

Applies to