Hi there
Wonder if someone can give me advice:
I have a counter running that i use for in a RTC, i then send out the data as a serial string on my com port. the problem is that i need it to be the same length all the time.
Eg: from 0 to 9 #seck gives out 0 to 9, i need it to be 01,02, ect
from 10 onwards it is fine always 2 digits.
I use this in a few places in my program