QC12864B.h 414 B

1234567891011121314151617181920
  1. #ifndef QC12864B_H
  2. #define QC12864B_H
  3. #include "sys.h"
  4. #include "main.h"
  5. #define SCLK PAout->b0 //时钟信号
  6. #define SID PAout->b1 //数据信号
  7. #define CS PAout->b2 //片选信号
  8. #define CH PAout->b3 //并行、串行选择信号
  9. #define RST PAout->b4 //复位信号
  10. extern char QC12864B_String[4][2 * 8 + 1];
  11. void LcdInit ( void );
  12. void LcdPrint ( u8 X, uc8 *s );
  13. void LcdRefresh ( void );
  14. #endif