센서측정1 DHT 온도 습도 센서 측정하기 (아두이노 ide) 필요 물품 아두이노 우노 보드 회로 DHT 온도 습도 센서 USB 케이블 PC 브레드보드 아두이노 IDE 아두이노 우노 보드와 센서를 회로로 연결하여 측정하였다 예제 코드 // // FILE: dht.h // AUTHOR: Rob Tillaart // VERSION: 0.1.18 // PURPOSE: DHT Temperature & Humidity Sensor library for Arduino // URL: http://arduino.cc/playground/Main/DHTLib // // HISTORY: // see dht.cpp file // #ifndef dht_h #define dht_h #if ARDUINO < 100 #include #include // fix for broken pre 1... 2023. 3. 20. 이전 1 다음