Description: 开机的时候先检测W25X16中是否已经存在字库,如果存在,则按次序显示汉字。如果没有,则检测SD卡和文件系统,并查找SYSTEM文件夹下的FONT文件夹,在该文件夹内查找UNI2GBK.SYS和GBK16.FON(这两个文件是由我们自己生成的UNICODE转GBK码表文件和GBK字库(16*16)文件)。在检测到这些文件之后,就开始更新字库,更新完毕才开始显示汉字。同样我们也是用LED0来指示程序正在运行。-Boot time to detect whether an existing font W25X16, if present, then in sequence to display Chinese characters. If not, then detect the SD card and the file system, and find SYSTEM folder FONT folder, locate the folder UNI2GBK.SYS and GBK16.FON (these two files are generated by our own code UNICODE turn GBK table file and GBK font (16* 16) file). After detection of these files, they begin to update fonts, updated began to display Chinese characters. Similarly, we also use LED0 to indicate the program is running. Platform: |
Size: 3115008 |
Author:NJH |
Hits: