文章详情
时间:2010-07-17 来源:hnrainll
#include<reg52.h> char code msg[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f}; void delay(int t) { for(;t!=0;t--); } void main() { unsigned char *i,p; while(1) { i = msg; for(p = 0; p < 8; p++) { delay(40000); P1 = *(i++); // P1 = *(i + p); } } }
辰域智控app
网医联盟app
汇丰汇选App
1970-01-01