display ascii on LCD

void main(void)
{
char ebit,ans;

ebit = 0x01;
ans = ebit*(100/256);
}

how can i display the value in ans on LCD
?

void lcdPutStr (char *string)
{
char i;
i=0;
while(string[i])
{
lcdPutCh (string[i++]);
}
}

this is the program segment for putting the characters into LCD

Parents Reply Children
More questions in this forum