GrovePi.AnalogRead(GrovePort) 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.
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