Table of Contents

Class Chsc6540

Namespace
Iot.Device.Chsc6540
Assembly
Iot.Device.Chsc6540.dll

Chsc6540 touch screen.

public class Chsc6540
Inheritance
Chsc6540

Constructors

Chsc6540(I2cDevice)

Creates a new instance of the Chsc6540.

public Chsc6540(I2cDevice i2cDevice)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

Fields

DefaultI2cAddress

Chsc6540 I2C address.

public const byte DefaultI2cAddress = 46

Field Value

byte

Methods

Dispose()

Cleanup.

public void Dispose()

GetDoublePoints()

Read a DoublePoints from the controller.

public DoublePoints GetDoublePoints()

Returns

DoublePoints

A DoublePoints.

GetNumberPoints()

Gets the number of points detected.

public byte GetNumberPoints()

Returns

byte

Number of points detected.

SetInterruptMode(bool)

Sets the interrupt mode.

public void SetInterruptMode(bool modeLow)

Parameters

modeLow bool

True to have int low when extending the report point otherwise when reporting point is not extended.