📄 lcd_test.c
字号:
/*
Module Name : lcd_test.c
Functions : LCD_TEST
Purpose : Test LCD color bar
Author : Otis Yu 2005/04/01
Notes :
This function is contorl bright and adjust signal width
*/
// Local header files
#include <demo/uart270.h>
#include <demo/sagiters.h>
// Extern global variables
extern char UART_outBuff[1024];
extern volatile unsigned short UART0IntFlag;
//
// Test LCD
void LCD_TEST(void) {
UART_sendString( UART0, "\r\n ****************LCD TEST****************" );
VENCInit(VENC_NTSC,1); //otis
LCD_CTRL(ON);
VENC_ColorBar(ON);
VENC_BREN(ON);
VENC_BRWDTH(0xFF);
UART_sendString( UART0, "\r\n Push Any Key(PC) Exit Test" );
while(UART0IntFlag);
UART0IntFlag = 1;
LCD_CTRL(OFF);
VENC_BREN(OFF);
VENC_ColorBar(OFF);
VENC_BRWDTH(0x00);
UART_sendString( UART0, "\r\n END" );
UART_sendString( UART0, "\r\n " );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -