AnalogInput

Analog Input

    AnalogInput

Library

Basic

Description

Read analog data on the specified pin from Arduino (defined in the Configuration block).

Parameters

AnalogInput_0

NameLabelDescriptionData TypeValid Values

Pin

Analog pin number or name

Defines the analog number or name of the pin that is used to read

AnalogInput_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

Port 1

explicit

output

1

Port 2

activation

input

1

Diagram

AnalogInput