Table of Contents

Class Ft6xx6x

Namespace
Iot.Device.Ft6xx6x
Assembly
Iot.Device.Ft6xx6x.dll

Ft6xx6x touch screen

public class Ft6xx6x
Inheritance
Ft6xx6x

Constructors

Ft6xx6x(I2cDevice)

Creates a new instance of the Ft6xx6x

public Ft6xx6x(I2cDevice i2cDevice)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

Ft6xx6x(I2cDevice, int, int, DisplayOrientation)

Creates a new instance of the Ft6xx6x with defined touch area width and height, which need to be known to support orientation (Orientation).

public Ft6xx6x(I2cDevice i2cDevice, int width, int height, DisplayOrientation orientation)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

width int

The touch area's width, in pixels, when in its default orientation.

height int

The touch area's height, in pixels, when in its default orientation.

orientation DisplayOrientation

The display orientation, which affects the X and Y coordinates returned by GetPoint(bool) and GetDoublePoints().

Fields

DefaultI2cAddress

Ft6xx6x I2C Address

public const byte DefaultI2cAddress = 56

Field Value

byte

Properties

ChargerOn

Gets or sets the charger mode type.

public bool ChargerOn { get; set; }

Property Value

bool

ConsumptionMode

Gets or sets the consumption mode.

public ConsumptionMode ConsumptionMode { get; set; }

Property Value

ConsumptionMode

GestureEnabled

Gets or sets the gesture.

public bool GestureEnabled { get; set; }

Property Value

bool

MonitorModeDelaySeconds

Gets or sets the time to go to monitor mode in seconds. Maximum is 0x64.

public byte MonitorModeDelaySeconds { get; set; }

Property Value

byte

MonitorModeEnabled

Gets or sets the touch screen to go to monitor mode.

public bool MonitorModeEnabled { get; set; }

Property Value

bool

MonitorModePeriodActive

Gets or sets the period for scaning and making results available. Values between 0x04 and 0x14.

public byte MonitorModePeriodActive { get; set; }

Property Value

byte

Remarks

Do not pull results faster than this perdiod.

Orientation

Gets or sets the display orientation.

public DisplayOrientation Orientation { get; set; }

Property Value

DisplayOrientation

Remarks

Changing the orientation requires the touch area's width and height to be set, use the appropriate constructor - Ft6xx6x(I2cDevice, int, int, DisplayOrientation).

PeriodActive

Period for scaning and making results available. Values between 0x04 and 0x14.

public byte PeriodActive { get; set; }

Property Value

byte

Remarks

Do not pull results faster than this perdiod.

PointFilterThreshold

Gets or setes the point filter threshold

public byte PointFilterThreshold { get; set; }

Property Value

byte

ProximitySensingEnabled

Gets or sets the proximity sensing.

public bool ProximitySensingEnabled { get; set; }

Property Value

bool

TouchThreshold

Gets or setes the touch threshold

public byte TouchThreshold { get; set; }

Property Value

byte

Methods

Dispose()

Cleanup

public void Dispose()

GetChipType()

Gets the chip type.

public ChipType GetChipType()

Returns

ChipType

The chip type.

GetDoublePoints()

Get the double touch points.

public DoublePoints GetDoublePoints()

Returns

DoublePoints

Double touch points.

GetNumberPoints()

Gets the number of points detected.

public byte GetNumberPoints()

Returns

byte

Number of points detected.

GetPoint(bool)

Gets a point.

public Point GetPoint(bool first)

Parameters

first bool

True to get the first point.

Returns

Point

The point.

Exceptions

NotImplementedException

An unexpected DisplayOrientation value was encountered.

InvalidOperationException

Orientation is not the default one, but the touch area's default width and height are not set.

GetVersion()

Gets the library version.

public Version GetVersion()

Returns

Version

The library version.

SetFactoryMode(FactoryMode)

Sets the factory mode.

public void SetFactoryMode(FactoryMode mode)

Parameters

mode FactoryMode

The factory mode.

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 poirt is not etended.