#include<reg52.h>
#include<stdio.h>
void init();
void main()
{
init();
printf("hellow everyone\n");
while(1);
}
void init()
{
SCON=0x50;
PCON=0x80;
TMOD=0x20;
TH1=0xe8;
TL1=0xe8;
TR1=1;
}
可能他不会用
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |