Edit

Share via


GrovePi.AnalogRead(GrovePort) Method

Definition

Read an analog value on a pin, equivalent of analogRead on Arduino

public int AnalogRead (Iot.Device.GrovePiDevice.Models.GrovePort pin);
member this.AnalogRead : Iot.Device.GrovePiDevice.Models.GrovePort -> int
Public Function AnalogRead (pin As GrovePort) As Integer

Parameters

pin
GrovePort

The GroovePi pin to read

Returns

Applies to