from machine import Pin
import time
from time import sleep
mt = Pin(18, Pin.IN)
led = Pin(19, Pin.OUT)
while True:
mtv = mt.value()
## ให้เขียน code เงือนไข if else แสดงสถานะการทำงานของ PIR Motion
Loading
esp32-devkit-c-v4
esp32-devkit-c-v4