3 PWM generators are fed by 3 debounced encoder peripherals.
Connect 3 digital rotary encoders to the first 6 inputs. Changing the encoders will change the PWM outputs on the first 3 outputs.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | encoder 0 pin a | pwm 0 | n/a |
1 | encoder 0 pin b | pwm 1 | n/a |
2 | encoder 1 pin a | pwm 2 | n/a |
3 | encoder 1 pin b | n/a | n/a |
4 | encoder 2 pin a | n/a | n/a |
5 | encoder 2 pin b | n/a | n/a |
6 | n/a | n/a | n/a |
7 | n/a | n/a | n/a |