AnsweredAssumed Answered

display decimal to LCD

Question asked by Heath Ferry on Sep 10, 2011
Latest reply on Sep 13, 2011 by Gustavo Denardin

I'm trying to convert a HEX number to a deciaml number so that I can display it onto the LCD. I can display everything I want on the the display but my number is in HEX. My hex number is coming from a routine that converts the value stored in ATD0DR0H. The value stored there is (I think) binary, so what every is easier binary to deciamal or Hex to decimal, I need to convert to deciamal. I'm using CodeWarrior I have attached the code that I have so far. Thanks to anyone that helps me