Edit

Share via


Seesaw.AnalogRead(Byte) Method

Definition

Reads the value of an analog pin.

public ushort AnalogRead (byte pin);
member this.AnalogRead : byte -> uint16
Public Function AnalogRead (pin As Byte) As UShort

Parameters

pin
Byte

The pin number in the devices numbering scheme.

Returns

A value between 0..1023 that represents the analog value.

Applies to