To display a variable, consider this C example for a PIC microcontroller
You need to convert your 0-255 variable into a string of ASCII characters so that it can be displayed by the LCD.
For example if var1 = 214, so you need to convert it to a string '2','1', and '4' first.
This means you many need an array variable to hold the string.
var1 = 214;
var1String[4]; //hold 3 chars + 1 null character
then use maybe the sprintf function so that var1 is converted to string.
sprintf(var1String,"%d",var1);
then display the var1String to lcd.
lcd_puts(var1String);
Hope it helps.