I'm making a countdown timer on an lcd for my kids to use when brushing their teeth. When the timer should display "9", instead it shows "90...80...70..." and so on, like this.
allways post full code, not only a part, because the bug is mostly in the not shown part!
assumption:
you have printed 10 before.
When you print 9, you don't delete the 0 from the number printed before.
Therefore either delete the row before you print a new number or add blanks if you only print a single character digit.