


What the hell happend. I have tried to figure this out. I can't. It's been hours. I am running mandrake linux 9.1. Here is what the function to read keypad out to the computer screen looks like. Note: this used to work like I intended.
void read_and_dis_input(void)
{
read(fd, &input, 1);
printf("Here is my input ---> %u\n", input)
}
Here is what fd is: fd = open( device, O_RDWR | O_NOCTTY );
input is: int input;
Like I said this used to print out values like 75, 74, 54, etc.. to my computer display. Now it prints letters to my lcd screen. This makes no sense I didn't recompile, or change my code. Henry, if your out there please take a look at this. I would greatly appreciate someones help here.