Uses a set of registers to divide the clock, and then some combinational logic to convert from binary to decimal for the display.
Puts a slower square wave output on output 7.
After reset, the counter should increase by one every second.
The analog input signal must be massaged into clean digital. See the Neptune project for details https://github.com/psychogenic/neptune
# | Input | Output |
---|---|---|
0 | clock | segment a |
1 | reset | segment b |
2 | clock config A | segment c |
3 | clock config B | segment d |
4 | measured frequency input pulses | segment e |
5 | segment f | |
6 | segment g | |
7 | display select |