中科因仑“3+1”工程特种兵精英论坛
标题:
简单实用的LCD模拟器,基于VC++ Console控制台的!
[打印本页]
作者:
因为思念谁
时间:
2016-5-10 21:57
标题:
简单实用的LCD模拟器,基于VC++ Console控制台的!
电脑和开发板分别运行
#include "stdafx.h"
#include "BSP\bsp_timer.h"
#include "BSP\bsp_key.h"
#include "BSP\bsp_lcd.h"
#include "BSP\fonts.h"
#if DEBUG_ON_PC
#include <graphics.h>
#include <conio.h>
#endif
int _tmain(int argc, _TCHAR* argv[])
{
initgraph(320, 240); //分辨率 320*240
InitSystem(); //初始化硬件
GUI_Form_Main(); //显示主界面
while(1)
{
if(kbhit()) //键盘处理
{
}
}
getchar();
return 0;
}
欢迎光临 中科因仑“3+1”工程特种兵精英论坛 (http://bbs.enlern.com/)
Powered by Discuz! X3.4