add a resistor ladder on the d flip flop outputs and you get a dac. AND gate is removed, pin2 is a passthrough
attach a r2r ladder and a non-inverting op-amp on the output and you can control the adc output
resistors, opamp, and you
# | Input | Output |
---|---|---|
0 | clock | segment a |
1 | reset | segment b |
2 | segment c | |
3 | segment d | |
4 | segment e | |
5 | segment f | |
6 | segment g | |
7 |