Home > other >  The topic of a single-chip computer
The topic of a single-chip computer

Time:09-25

Led on a second one second cycle 20 times in shines out two seconds seconds wireless loop

CodePudding user response:

Simple math problem, calculate 20 change delay value,

CodePudding user response:

To make out my card in to jump out of 20 cycles

CodePudding user response:

Led=1; Delay1s; Led=0 that is broadly to cycle 20 times

CodePudding user response:

To use a timer to complete

CodePudding user response:

for(i=0; i <20; I++) that is sure to jump out to, delay Settings,
Or the if (count++ & lt; 20) similar to count can be!

CodePudding user response:

for(i=0; i <20; I + +)//cycle 20 times
{
Led=1; Delayms (1000); Led=0;
}
While (1)//wireless loop
{
Led=1; Delayms (2000); Led=0;
}
  • Related