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 cyclesCodePudding user response:
Led=1; Delay1s; Led=0 that is broadly to cycle 20 timesCodePudding user response:
To use a timer to completeCodePudding 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;
}