C51 COMPILER V7.09   GLCD_STK1_DEMO1                                                       07/06/2006 17:26:57 PAGE 1   


C51 COMPILER V7.09, COMPILATION OF MODULE GLCD_STK1_DEMO1
OBJECT MODULE PLACED IN gLCD_STK1_Demo1.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE gLCD_STK1_Demo1.c BROWSE DEBUG OBJECTEXTEND

line level    source

   1          /*
   2          ***********************************************************************************************
   3          *                                               JHD12864G/J Graphical LCD Demo_1 (KS0107/8 controller)
   4          *
   5          * File name             : gLCD_STK1_Demo1.c
   6          * Programmer    : John Leung, TechToys. Hong Kong
   7          * Web presence  : www.TechToys.com.hk
   8          * Language              : Keil C 7.09 2K limited version in uVision2 IDE version 2.40
   9          * Hardware              : AT89S52-gLCD-STK1 demo board
  10          * Version               : Version 1.0
  11          * Date                  : 4th July 2006
  12          ***********************************************************************************************
  13          */
  14          #include <regx52.h>
  15          #include "delay.h"
  16          #include "ks0108.h"
  17          
  18          void main(void)
  19          {
  20   1              unsigned char x;
  21   1      
  22   1              GDispInit();
  23   1      
  24   1              for(;;){
  25   2              GDispPixStrAt(50,32, "Temp: 25.5C", 1, BLACK);
  26   2              GDispPixStrAt(50,42, "Humidity: 50.3%", 1, BLACK);
  27   2              for(x=0;x<128;x++) GDispSetPixel(x,0,BLACK);
  28   2              for(x=0;x<128;x++) GDispSetPixel(x,63,BLACK);
  29   2              DelayMs(3000);
  30   2              GDispClr(0x00);
  31   2              GDispPixStrAt(50,32, "12:35 pm", 1, BLACK);
  32   2              GDispPixStrAt(50,42, "4th July '06", 1, BLACK);
  33   2              for(x=0;x<128;x++) GDispSetPixel(x,0,BLACK);
  34   2              for(x=0;x<128;x++) GDispSetPixel(x,63,BLACK);
  35   2              DelayMs(3000);
  36   2              GDispClr(0xFF);
  37   2              DelayMs(3000);
  38   2              GDispPixStrAt(0,10, " !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_'abcdefghijklmnopqrs
             -tuvwxyz{|}~", 2, WHITE);      
  39   2              DelayMs(3000);
  40   2              GDispClr(0x00);
  41   2              }
  42   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    223    ----
   CONSTANT SIZE    =    145    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----       1
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
