Using Arduino void loop startButtonCurrent waitForButtonPu
Using Arduino!!
void loop()
{
startButtonCurrent = waitForButtonPush(startButtonLast);
if(startButtonLast == LOW && startButtonCurrent == HIGH)
{
while(1) //starts an infinite loop
{
; //Fill in this missing line: Hint: Increment the counter
icount = ; //Fill in this missing parts of this line: Hint: Compute modulo 10
LEDDisplay(icount); // Display on the 7-segment LED display
delay(1000); //Delay of 1 second
}//while
}//if
}//loop
Solution
1--> first missing line is icount++; (incremental order)
2 --> icount% 10 (modulo 10)

