PIC32 Date to LCD conversion.

Discussion in 'Programmer's Corner' started by maxpower097, Feb 20, 2009.

  1. maxpower097

    Thread Starter Well-Known Member

    Feb 20, 2009
    I'm trying to read the rtcc in the pic32 and display it to the LCD. I believe the data coming from the pic is in binary and the LCD needs to display ascii. Is there an easy way to convert this to an ascii value so it can be displayed on the LCD?
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Convert the binary to BCD first. ASCII numeric codes are 30h + the number.