Language
Edit

Seesaw.TouchRead(Byte) Method

Definition

Reads the analog value on an capacitive touch-enabled pin.

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

Parameters

pinId
Byte

The number of the pin to read.

Returns

An analogue value betweeen 0 and 1023 that represents the capacitance read from the pin.

Applies to