ESP8266 ควบคุมเว็ป(NodeMCU ESP8266 เชื่อมต่อ DHT11 เซ็นเซอร์วัดอุณหภูมิและความชื้น แสดงค่าผ่าน wifi web server)
   // Including the ESP8266 WiFi library #include <ESP8266WiFi.h> #include "DHT.h"   // Uncomment one of the lines below for whatever DHT sensor type you're using! #define DHTTYPE DHT11     // DHT 11 //#define DHTTYPE DHT21     // DHT 21 (AM2301) //#define DHTTYPE DHT22     // DHT 22    (AM2302), AM2321   // Replace with your network details const char* ssid = "my_arduino"; // ใส่  esp 8266 const char* password = "0927566556"; // ใส่รหัสที่เราตั้ง   // Web Server on port 80 WiFiServer server(80);   // DHT Sensor const int DHTPin = 5; // Initialize DHT sensor. DHT dht(DHTPin, DHTTYPE);   // Temporary variables static char celsiusTemp[7]; static char fahrenheitTemp[7]; static char humidityTemp[7];   // only runs once on boot void setup() {    // Initializing serial port for debugging purposes    Serial.begin(115200);    delay(10);      dht....
