Appendix
App-7
PL-5700 Series User’s Manual
“Quit” key
Function Key
area
Please press one of the touch panel keys.
Pressing either “Z” or on the square shown to
the right, will quit this program.
F8
F7
F6
F5
F4
F3
F2
F1
ENT
BS
+
.
0
9
8
7
6
5
4
3
2
1
4
Touch Panel Handler Sample Program
The following sample program was created with the PLATPH.EXE (Touch Panel
Handler) application.
Sample Program made with the Touch Panel Handler
Compiler Method
cl sample.c
If not adding GRAPHICS.LIB to SLIBCE.LIB, add
/link graphics.lib.
This sample program is designed to perform processing based on the touch panel input
received from either the upper or lower function keys, or the screen’s designated Quit key area.
/* This sample program is used by the PLATPH.EXE touch panel handler.
* Input can be performed by pressing on designated areas of the screen.
* Before starting this program, be sure to start the PLATPH.EXE program
*/
#include <stdlib.h>
#include <stdio.h>
#include <dos.h>
#include <graph.h>
#include <conio.h>