📄 readme.txt
字号:
HOWTO use LCD:
the files s1d13806.h and main.c must be modified.
as follows :
1. STN 320x240
1) the source is : s1d13806.h
#define H_MAX_RES 320
#define V_MAX_RES 240
3) the source is : main.c
AT91F_S1D13806_Init ( s1d13506_base,
S1D13806_DISP_MEM_BASE,
(unsigned int) STN_Display_Conf,
(unsigned int) Display_Def_2, // 320x 240 //
(unsigned int) Char_Def_0, // 8 x 16 //
(unsigned int) MCK_KHz ) ;
2. TFT 640x480
1) the source is : s1d13806.h
#define H_MAX_RES 640
#define V_MAX_RES 480
3) the source is : main.c
AT91F_S1D13806_Init ( s1d13506_base,
S1D13806_DISP_MEM_BASE,
(unsigned int) TFT_Display_Conf,
(unsigned int) Display_Def_0, // 640x 480 //
(unsigned int) Char_Def_0, // 8 x 16 //
(unsigned int) MCK_KHz ) ;
3 TFT 800x600
1) the source is : s1d13806.h
#define H_MAX_RES 800
#define V_MAX_RES 600
3) the source is : main.c
AT91F_S1D13806_Init ( s1d13506_base,
S1D13806_DISP_MEM_BASE,
(unsigned int) TFT_Display_Conf,
(unsigned int) Display_Def_1, // 800x 600 //
(unsigned int) Char_Def_0, // 8 x 16 //
(unsigned int) MCK_KHz ) ;
4. CRT 640x480
1) the source is : s1d13806.h
#define H_MAX_RES 640
#define V_MAX_RES 480
3) the source is : main.c
AT91F_S1D13806_Init ( s1d13506_base,
S1D13806_DISP_MEM_BASE,
(unsigned int) CRT_Display_Conf,
(unsigned int) Display_Def_0, // 640x 480 //
(unsigned int) Char_Def_0, // 8 x 16 //
(unsigned int) MCK_KHz ) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -