I am doing some work with a Hex Seven Segment Digital Display with a built in decoder that takes in 4 bits of information. Controlling it I have 4 cascading T-FlipFlops whose outputs are inverted so I iterate through its states backwards rather than forwards. It has the following states 1,2,3,4,5,6,7,8,9,A,b,C,d,E,F.
For example to view a 3, the first two bits are set to High, and the last two are set to off. To view an E for example the first bit is off, and the last three bits are set to High.
My problem is that I don't know how, or what is the best way, to skip the alphabetical characters, and cycle through just the numerals 1,2,3,4,5,6,7,8,9 then back to 0. What is the best way to do this.
I'm not coding, there are no micro-controllers this is all digital logic.