problem with keyboard code
Posted: Fri Jun 07, 2002 11:00 pm
Hi,
can anybody here help me with this code, and say me what is wrong. My Programm
does not go in the loop.
unsigned char keyb(void)
{
unsigned char taste,taste2;
writeln ("Keyboard test");
while (taste==taste2)
{
taste2=inportb(0x60);
writeln("Wir sind in der Schleife");
}
writeln("Taste gedrückt");
}
Lars
can anybody here help me with this code, and say me what is wrong. My Programm
does not go in the loop.
unsigned char keyb(void)
{
unsigned char taste,taste2;
writeln ("Keyboard test");
while (taste==taste2)
{
taste2=inportb(0x60);
writeln("Wir sind in der Schleife");
}
writeln("Taste gedrückt");
}
Lars