//***************************************************************************
//                                                                          *
// Sample Program for LCD Show                                              *
//                                                                          *
//  Target Machine : CPT-711
//
// Function:                                                                *
// int  printf(char *format, var) : Write character strings and values of   *
//                                  C variables in a specified format to    *
//                                  the LCD display.                        *
// int  putchar(char c)           : Display a character on the LCD display. *
// char puts(char *string)        : Display a string on the LCD display.    *
//                                                                          *
// SYNTECH INFORMATION CO., LTD.                                            *
//                                                                          *
//***************************************************************************

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "..\lib\711lib.h"

void main (void)
    {
    int   ishow = 13;
    char  cshow = 'L';

    clr_scr ();
    gotoxy (3, 1);
    puts ("LCD SHOW TEST");

    gotoxy (3, 3);
    puts ("THE WORD IS ");
    putchar (cshow);

    gotoxy (3, 5);
    printf ("THE LEN IS %d", ishow);

    while (getchar() != KEY_ESC);
    }

//-------------------------------------------------------------------------//
