Line eleven starts an infinite when loop. This loop reads the status with the input pin, merchants it in sw, and uses this price to show the LED on or off by altering the worth of pin thirteen. ถ้าใช้งานจริง ใช้ ชิฟ esp8266 อัพโหลดด้วยโมดูล usb ttl ตามในคอร์สนี้ได้เลยครับ The emergence of Arduino https://rylanhjifg.total-blog.com/rumored-buzz-on-python-51703505