📄 display.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -