AXE033 in i2c mode

Tony P

Member
I have just changed my AXE033 LCD to i2c mode so that I can use the onboard DS1307 clock option.
I can send text etc to the LCD and I can read the clock time into variables on my 18M2.

Question: How do I display the time taken from the DS1307 back to the LCD display in the correct format (i.e 10 displays as 16)?

I can do this in serial mode using serout and using the #b1 etc and a small correction routine but i2c mode does not accept the #
 

Tony P

Member
I have tried bcdtoascii but I still get the same results. 1 to 9 is fine then I get all sorts of symbols instead of numbers
 
Top