TouchScreen

TouchScreen reader

    TouchScreen

Library

Components

Parameters

TouchScreen_0

NameLabelDescriptionData TypeValid Values

xp

Pin xp

Positive electrode pin at the top

yp

Pin yp

Positive electrode pin at the bottom

xm

Pin xm

Negative electrode pin at the top

ym

Pin ym

Negative electrode pin at the bottom

rx

Xplate Resistance

Resistance of the plate without applying any pressure

Scalar

pression_threashold

Pression threashold

Threshold of the pressure applied on the screen

Scalar

TouchScreen_1

NameLabelDescriptionData TypeValid Values

use_open_port

Use opened serial port

Use the port defined in the configuration block or specify the port.

if this checkbox is checked ON, the block uses the serial communication channel opened by the ArduinoConfiguration block.
If the model is connected to multiple Arduino boards, it should be unchecked, and the actual communication port should be provided as a block parameter.

Number

0
1

com_port

Communication port

Comm port number.

String

Ports

NameTypeDescriptionIO TypeNumber

x

explicit

output

1

y

explicit

output

2

Port 3

activation

output

1

Port 4

activation

input

1

Diagram

TouchScreen