16
sam9669
7y

int counter=0;

void loop()
{
if (counter>=10)
{
// nothing
}
else
{
Serial.println(counter);
counter++;
}
}

This is what I call bureaucracy

Comments
  • 1
    I must be tired, where is the loop? 😀
  • 1
    @nbamaral in Arduino the loop() function is a special function that is being looped automatically.

    Not an expert on Arduino so can't give more info than that :P
  • 1
    @MatanRad
    Oh, thanks, never done anything in it 😊
Add Comment