標(biāo)題:
單片機學(xué)習(xí) ④ 第一個程序
[打印本頁]
作者:
heicc
時間:
2015-1-5 17:00
標(biāo)題:
單片機學(xué)習(xí) ④ 第一個程序
/********************************************************************
程 序 名:程序編程規(guī)范演示
作 者:發(fā)光的石頭
編寫時間:2014年9月3日
硬件支持:STC12C4052AD
接口說明:
修改日志:
No.1
*******************************************************************
說明:
其他需要備注的內(nèi)容
*******************************************************************
*//********************************************************************
頭文件包含模塊
STC12C2052AD.H
::支持STC12XXXXAD系列的單片機SFR聲明
*********************************************************************
*/
#include <STC12C2052AD.H>
/********************************************************************
函數(shù)名稱:main.c
函數(shù)功能:主函數(shù)
函數(shù)接口:無 (參數(shù),返回值)
函數(shù)功能:
*********************************************************************
*/
void main(void)
{
P1 = 0xF0;
while(1);
}
歡迎光臨 (http://www.torrancerestoration.com/bbs/)
Powered by Discuz! X3.1