树莓派 4b python3 温湿度传感器 dht不断获取温度湿度
sudo apt-get updatesudo apt-get install build-essential python-devsudo wget https://github.com/adafruit/Adafruit_Python_DHT.gitcd Adafruit_Python_DHTsudo python3 setup.py install python3安装Adafruit_Python_DHT库cd examplespython3 AdafruitDHT.py 11
原创
2020-05-27 16:59:56 ·
2097 阅读 ·
0 评论