I have a counter with my project. Every 1 second my counter change number between 1 - 10 (range 1 to 10). After that when counter select number i have Set counter to 0. So it's look like:
Select number between 1 - 10 -> Number 5 -> Set Counter to 0 -> My counter is 0 -> 2 second -> Select number between 1-10 > Number 7 etc.
Everything work great but from time to time my counter select the same number as last time. How can i resolve it ? I would like to create counter system without the same number after. ( 1 sec - select 5, 2 sec - select 5 - WRONG ; 1 sec. - select 5 , 2 sec - select 7 , 3 sec. select 5 - GOOD)