proteus與keil Cx51的單片機(jī)仿真(定時(shí)器應(yīng)用1)
電路圖:
C程序:
#include
#define uchar unsigned char
bit flag;
void delay();
uchar IntNumber,Flashnumber;//T0中斷次數(shù),閃爍次數(shù)
void main()
{
while(1)
void Int_T0() interrupt 1 using 2
{
}
void delay()
{
}
EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > proteus與keil Cx51的單片機(jī)仿真(定時(shí)器應(yīng)用1)
電路圖:
C程序:
#include
#define uchar unsigned char
bit flag;
void delay();
uchar IntNumber,Flashnumber;//T0中斷次數(shù),閃爍次數(shù)
void main()
{
while(1)
void Int_T0() interrupt 1 using 2
{
}
void delay()
{
}
評(píng)論