main.c

来自「lcm显示功能」· C语言 代码 · 共 26 行

C
26
字号
// ------------------------------
// -    Use C compiler uC/51	- 
// -    www.wickenhaeuser.de	-
// ------------------------------			

#include <stdio.h>
#include <reg51.h>
#include "Disp.h"	         // Support routines 
#include "Image.h"               // Contents convert image code 

void main(void)
{
  PAUSE(5);
  DISP_INIT();
  for(;;)
  {
    DISP_ICON(Head,0,0);         // Display Image (Table with compress image,Height,Position Row,Col)
    PAUSE(20); 
    DISP_TEXT("Hello",5,0,7,45); // Display Text (Text,Length,Height,Position Row,Col)
    PAUSE(20);
    DISP_TEXT("Hello",5,1,6,35); // Display Text (Text,Length,Height,Position Row,Col)
    PAUSE(20);
   }
 }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?