display.h
来自「测量脉搏的源码 Cypress公司使用 CY27443 完成相关的功能」· C头文件 代码 · 共 33 行
H
33 行
#ifndef _DISPLAY_H_
#define _DISPLAY_H_
//--------------------------------------------------------------------------------------------------
// Compiler directive that allow using backgroung under painting
// To disable this feature comment it
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
// Port 0 pinout for LCD.
//--------------------------------------------------------------------------------------------------
#define LCD_DC_PIN 0x08 // PRT0_3
#define LCD_RST_PIN 0x02 // PRT0_1
//--------------------------------------------------------------------------------------------------
// Include font files
//--------------------------------------------------------------------------------------------------
#include "small_font.h"
void LcdSendData ( char data );
void LcdSendCommand ( char command );
void LcdInit ( void );
void LcdContrast ( char contrast );
void LcdContrast ( char contrast );
void LcdGoto ( char x, char y );
void LcdChr ( char ch );
void LcdStr ( char *dataPtr );
void LcdCStr ( const char *dataPtr );
void LcdVBargraph (char x, char ystart, char yend, char yposition);
void LcdHBargraph (char y, char xstart, char xend, char xposition);
#endif // _DISPLAY_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?