New Search

If you are not happy with the results below please do another search

1 search result for:

1

Arduino Uno R3 + DHT22 + LCD 16×2

เพิ่งหัดเล่น ทดลองเล่น Arduino ดู  ฝึกสมอง เจอเวปให้ลอง เล่นไปเรื่อยๆ  เจอเวปลอง วัด อุณหภูมิ ความชื้น ออกจอ LCD ดูรูปก็ง่าย แต่ต่อตาม มีผิด (แล้วทำไมมันไม่แก้ฟะ) แถมปรากฎว่า โปรแกรมตัวอย่างที่ให้ ผิดอีก หรือเราโง่ก็ไม่รู้ จึงลอง งมแก้ code ใหม่ ให้ใช้งานได้ตรงจุดประสงค์ ดังนี้ #include <DHT.h> #include <LiquidCrystal.h> // Pin connected to the sensor data pin #define DHTPIN 7 // Display pins LiquidCrystal lcd(12,11,5,4,3,2); // Use the line according to the sensor […]