This is code for DHT11 in Arduino. We have included the “dht” library included in Arduino IDE. Then, declare the Data pin as pin 8.
確定! 回上一頁