Debounce the inputs, drive an encoder module to adjust seven segments and pwm output. There is ctrl pin to enable countdown in every minute on the seven segments. A 16MHz clock oscillator is required.
Twist each encoder and the attached PMOD and LED should change the display value and brightness. Enable the ctrl pin to start the minute countdown.
Use 1x PMOD and 3x LED display attach the output pins, 3x digital encoders attach to the input pins.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | enc0 a | AA | pwm 0 |
1 | enc0 b | AB | pwm 1 |
2 | enc1 a | AC | pwm 2 |
3 | enc1 b | AD | |
4 | enc2 a | AE | |
5 | enc2 b | AF | |
6 | AG | ||
7 | CTRL | CAT |