Seesaw.AnalogRead(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.
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.