#dh11

46 温湿度传感器 dh11

 安装过程 #sudoapt-getupdate#sudoapt-getinstallbuild-essentialpython-dev#gitclonehttps://github.com/adafruit/Adafruit_Python_DHT.git#cdAdafruit_Python_DHT...
代码星球 ·2020-08-30

Arduino读取温湿度dh11+烟雾气体MQ2+彩灯ws2812

1获取温湿度D4-x信号线   #include<TroykaDHT.h>//типысенсоров:DHT11,DHT21,DHT22DHTdht(4,DHT11);voidsetup(){Serial.begin(9600);dht.begin();}voidloop()...