User`s manual

PK220064 s Software Reference
Table 5-3. PK2240 Sample Programs
Program Description
GLPRINTF.C Demonstrates the glprintf function and
shows how to print text on the graphics display.
KPDEFLT.C Demonstrates key scanning techniques using
functions in the KP library.
Table 5-2. Sample Communication Programs (concluded)
Program Description
CZ0REM.C
More elaborate sample of serial communication
between board and PC dumb terminal. Includes
modem communication, data monitoring, time
and date setup, memory read and write, data
logging, XMODEM download of the data log,
XMODEM upload of binary file for remote
downloading
. Also supports master-to-slave
communication. (Slave has to be running the
program CSREMOTE.C.)
RS232.C
RS-232 communication with a PC dumb
terminal, with or without modem. Also,
master-to-slave communication with another
board running RS-485.C.
RS485.C
Slave program to communicate with the master
running RS-232.C.
UART232.C RS-232 communication through an RS-232
expansion card with the PK2200.
Z1232.C An RS-232 program for Z180 port 1.
PK2240 Sample Programs
The sample programs listed in Table 5-3 are specific to the PK2240 and
are located in the SAMPLES\PK224X directory. These programs illustrate
the use of the graphic LCD and keypad.