main.c

来自「freescale hc08 T6963 160*80 LCD驱动」· C语言 代码 · 共 33 行

C
33
字号
#include "system.h"

void main(void) {
  UINT8 i=0,j=0;
  //UINT8 name[]="mpszmhtgggttt";
  /* Uncomment this function call after using Device Initialization
     to use the generated code */
  /* MCU_init(); */
  T6963C_init();
 
  /* include your code here */

 //;
 //T6963C_text_print(8,10,"mpszmhyyytyyyyyyygggdgfgghdhgghjfg") ;
 EnableInterrupts; /* enable interrupts */

  for(;;) {
    T6963C_pixel(i,j,j); 
    
    T6963_graph_print(0,10,"mpszmhy");
    T6963C_text_print(0,40,"mpszmhy");
    
    i++;
    if(i==250) T6963C_show_pic(1,1,104,46,nB);
    
    
   
    
    __RESET_WATCHDOG(); /* feeds the dog */
  } /* loop forever */
  /* please make sure that you never leave this function */
}

⌨️ 快捷键说明

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