logo

Crowdly

Tenint en compte el següent codi, assenyala totes les afirmacions correctes i...

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

Tenint en compte el següent codi, assenyala totes les afirmacions correctes

import machine

import time

y12 = machine.Pin('Y12')

while True:

    start = time.ticks_ms()

    time.sleep(1)

    y12(0 if y12() else 1)

    end = time.ticks_ms()

    diff = end - start

    print(diff)

More questions like this

Want instant access to all verified answers on ad.uib.es?

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