Question: You had written beautiful CircuitPython code to toggle your microcontroller's built-in LED on and off, but your pesky younger sibling came by and mixed up

 You had written beautiful CircuitPython code to toggle your microcontroller's built-in

You had written beautiful CircuitPython code to toggle your microcontroller's built-in LED on and off, but your pesky younger sibling came by and mixed up the order of your program! Using the labels indicated, rearrange the code below so that it correctly toggles the built-in LED on for 750 ms, then off for 250 ms, and repeats that process indefinitely. time. sleep (0.75) x = digitalio.DigitalInOut (board.013) import board import time import digitalio v x.direction = digitalio.Direction.OUTPUT x.value = False x.value = True while True: V time. sleep(0.25)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!