Oluşturulma Tarihi: 2021-05-16 19:09:47
microPython DHT-11 Sıcaklık ve nem sensörü kullanımı
DHT-11
microPython
microPython ile DHT-11 Sıcaklık ve Nem sensörü kullanacaklar için rehber
from machine import Pin from time import sleep import dht sensor = dht.DHT11(Pin(0)) sensor.measure() temp = sensor.temperature() hum = sensor.humidity() while True: print("sıcaklık",temp) print("nem",hum) sleep(1)