Hi all

I'm using a DS1307 as a RTC and seem to have reading and writing it sussed.
BUT...

The display device I'm using requires that each charater is written on it's own so to display 59 (seconds) I have to write 5 then move the pointer one space then write 9. (I actually have to write $5 and $9 to the display)

The DS1307 returns the seconds in hex so 59secs = 3B.
is there a simple way to convert hex to dec so i can read one char at a time?

I'm sure I'm missing something very obvious here but I have been away from pics for almost a year now and can not seem to find the answer on the archieve.

Rob