PROFACE PL-5700 Series Manual page 96

Table of Contents

Advertisement

}
return(FALSE);
}
/*****************/
/* MAIN VARIABLES */
/*****************/
void main(void)
{
if(!(_setvideomode(_VRES16EXCOLOR)))
{
printf("error: can't set graphics mode ");
exit(1);
}
_rectangle(_GBORDER,tpcd[0].sx,tpcd[0].sy,tpcd[0].ex,tpcd[0].ey);
printf("please push touchpanel or key \n");
printf("End program by pressing [ Z ]key or screen. \n");
while(1)
{
touchpanel_on();
if(keyboard_on())
{
_setvideomode(_DEFAULTMODE);
exit(0);
}
}
}
App-14
/* ERROR:Program End */
/* MAKE A SCREEN FRAME
/* RETURN TO VIDEOMODE */
Appendix
*/
PL-5700 Series User's Manual

Advertisement

Table of Contents
loading

Table of Contents