Reply To: Display Float on LCD – MPLAB XC8

Home Forums Microcontrollers PIC Microcontroller Display Float on LCD – MPLAB XC8 Reply To: Display Float on LCD – MPLAB XC8

#10280

Ligo George
Keymaster

You can display floating point values on LCD in following two methods.

  1. By converting floating point value to string and display that sting using Lcd_Write_String()
  2. By separating each digits and display that digit using Lcd_Write_Char() after converting it to character

The second method is the best method but it will vary depending upon the length of values that to be displayed.