logo

Crowdly

Browser

Add to Chrome

Скільки разів код видасть цифровий сигнал HIGH на виводі pin1? int pin1=11; ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Скільки разів код видасть цифровий сигнал HIGH на виводі pin1?

int pin1=11;

int x=3;

void setup() {

    pinMode(pin1,OUTPUT);

}

void loop() {

    for(int i=x;i<6;i++) {

        if(i%2==0) {

            x=x+1;

            loop();

        }

        else {

            digitalWrite(pin1,HIGH);

            digitalWrite(pin1,LOW);

        }

    }

}

100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome