Home > other > 51 microcontroller running water light C language version
51 microcontroller running water light C language version
Time:09-18
# include "reg52. H" Typedef unsigned int under-16; # define led P1
Void delay (under-16 I) { while(i--); } Void main () { Under-16 I; Led=0 xfe; Delay (100); While (I) { for(i=0; I<8; I++) { P1=(0 xfe & lt; Delay (100); Delay (100); }}} Just started to learn, also can't write, have bosses can help have a look at this program have mistake, thank you
CodePudding user response:
While (I) in the bracket is supposed to be 1, is not I,