Arduino-servoRead
Obtaining the position of the servo shaft.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
Block Arduino-servoRead It is used to get the position of the servo shaft, which was set last time by the unit. Arduino-servoWrite.
Ports
Output
#
value
—
position of the servo shaft
scalar
Details
The value of the shaft position from 0 before 180.
| Data types |
|
| Complex numbers support |
No |
Parameters
Main group
# Номер канала — analog pin
Details
An analog pin connected to the servo signal.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта: — the period from 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 |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
