Appendix
App-13
PL-5700 Series User’s Manual
}
}
if(value == FALSE) /* time out (of) area */
{
wait_touch_off();
}
}
}
/********************/
/* KEYBOARD INPUT*/
/********************/
int keyboard_on(void)
{
int i, ky;
if(kbhit())
{
ky=getch();
for(i=0; kbcd[i].keycode; i++)
{
if(ky == kbcd[i].keycode)
{
printf("push key is [%s]. \r",kbcd[i].keyname);
if(ky == ZKEYCODE)
{
printf(" push [%s]key. finishprogram. \n",kbcd[i].keyname);
return(TRUE); /* Program End */
}
break;
}
}