Engee documentation

Arduino-serialSetup

Configuring the serial port settings.

blockType: CFunction

Path in the library:

/Interfaces/Targets/Arduino/Arduino-serialSetup

Description

To work with the block, install/update the support package. equipment.

Block Arduino-serialSetup It is used to configure the serial port settings.

Parameters

Main group

# Номер канала: — available channels to use
0 | 1 | 2 | 3

Details

A list of available channels to use. This number determines which object (Serial, Serial1, …​ correspond to the numbers 0,1, …​) will be used for initialization.

Values

0 | 1 | 2 | 3

Default value

0

Program usage name

m_serial

Tunable

No

Evaluatable

Yes

# Скорость передачи данных: — number of transmitted bits per second (baudrate)

Details

The number of bits transmitted on the specified serial port.

Default value

115200

Program usage name

m_baudrate

Tunable

No

Evaluatable

Yes

# Шаг расчёта: — the period for which the block will be called

Details

Specify the interval between the calculation steps as a non-negative number. To inherit the calculation step, set this parameter to −1.

Default value

-1

Program usage name

sample_time

Tunable

No

Evaluatable

Yes