A block for a incremental encoder.
It exposes a S32 veriable with the name of the block.
If the encoder value increments in the wrong way, swap pin1 and pin2 io pins in hardware or software.
Property | Description |
---|---|
Disabled | To disable or enable this block. |
Name | The name of this block. |
Pin1 | The pin with the A-signal. |
Pin2 | The pin with the B-signal. (90%) |
Pull-up | Control pullup of both pins. |
Comment | To optionally enter a comment. It does not impact the generated firmware. |