赞
踩
目录
- #include <reg52.h>
- #include <intrins.h>
- #define uchar unsigned char
- #define uint unsigned int
- sbit P12=P1^2;
- char code str[] = "ONE WORLD, ONE DREAM \n\r";
-
- main()
- {
- uint j;
- TMOD=0x20;
- TL1=0xfd;TH1=0xfd;
- SCON=0x50;
- PCON&=0xef;
- TR1=1;
- IE=0x00;
- P12=1;
- while(1)
- {
-
- uchar i=0;
- while(str[i]!='\0')
- {
- SBUF=str[i];
- while(!TI);
- TI=0;
- i++;
- }
-
- for(j=0;j<50000;j++);
- }
- }

链接:https://pan.baidu.com/s/1PrIVm1Hv3C8zkORM9Ywn1Q?pw
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。