006 - MicroPython TechNotes: Traffic Light LED

preview_player
Показать описание
In this video, we will look at traffic light led module. It is a small model or miniature of traffic light. We will learn on how control using ESP32 with MicroPython.

For more details, visit my blog at:

OR watch the whole playlist:

More information about the kit:

Please do Like, Share, Comment, and Subscribe.

Thank you.

#TechToTinker
#MicroPython #ESP32 #GorillaCell
#MicroPythonTutorials

---
MicroPython Tutorials
How to use Traffic Light LED in MicroPython
Рекомендации по теме
Комментарии
Автор

5:51 I have a doubt.

The Code is :-

while True:
for x in range(3):
led[x].on()
sleep(0.3)
led[x].off()

This should go on like this:-

all 3 led turned on at once, wait 300 milliseconds and all led turned of at once :- repeated process

But why is it going like this :-
r led on, r led off, , y led on, y led off, , g led on, g led off ?

rohanraj
welcome to shbcf.ru