-
用户221375
2009-7-3 20:39
-
8个小灯的渐亮到渐灭
-
#include reg52.h unsigned char count; bit fg; void main(void) { unsigned char i; TMOD=0x01; TH0=0xa0; TL0=0xff; ET0=1; ...
-
-
用户221375
2009-7-2 20:11
-
8个LED灯渐亮
-
#include reg51.h unsigned char count; void main() { TMOD=0x01; TH0=0xFF; TL0=0x50; ET0=1; EA=1; TR0=1; P0=0x00; while(1) { if(count == 1) P ...
-
关闭
站长推荐
/3