源程序:
#include<reg51.h>
#define LED P1
#define count 50000
#define TH0_M1 (65536-count)/256
#define TL0_M1 (65536-count)%6
int IntCount;
void main()
{
}
void my_time0() interrupt 1
{
}
源程序:
#include<reg51.h>
#define LED P1
#define count 50000
#define TH0_M1 (65536-count)/256
#define TL0_M1 (65536-count)%6
int IntCount;
void main()
{
}
void my_time0() interrupt 1
{
}