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