Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block aznoohwee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
aznoohwee / esp8266_dht22.ino
Last active Jan 29, 2018
NodeMCU Publish DHT22 Temperature and Humidity to MQTT
View esp8266_dht22.ino
#include <DHT.h>
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <math.h>
const char* essid = "my_wifi_ssid";
const char* password = "my_wifi_password";
const char* topic = "esp8266";
You can’t perform that action at this time.