RotaryEncoder
Encoder
![]()
Library
Basic
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
Pin1 | Channel A digital pin | |||
Pin2 | Channel B digital pin | |||
Type | Mode for encoder | String | 'Rising | |
useReset | Use reset port | Number | 0 |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
use_open_port | Use opened serial port | Number | 0 | |
com_port | Communication port | String | 'COM4' |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Port 1 | explicit | output | 1 | |
Port 2 | activation | input | 1 | |
Port 3 | activation | input | useReset | |
Port 4 | explicit | input | useReset |