Using a 555 timer in astable mode, clocking a series of flip flop. This allows the flip flops to count in binary. Lastly a binary to 7-segment decoder is used to give decimal values to a 7-segment.(Potentiometer values and cap valus may be changed at the 555 timer for a faster clock). Also hex value of "A" is decoded using 3 AND gates.