C51 模仿PWM,可调
2016-01-12 来源:eefocus
sbit LED_0 = P1^0;
sbit LED_1 = P1^1;
unsigned Pwm = 0;
unsigned Count=0;
void Time_Init(void)
{
}
void Int0_Init(void)
{
}
void Int1_Init(void)
{
}
void main(void)
{
}
void INT_Time0() interrupt 1 using 1
{
}
void Int0() interrupt 0
{
}
void Int1() interrupt 2
{
}
下一篇:c51 c和汇编语言混合编程