Skip to content

Instantly share code, notes, and snippets.

View jeroavf's full-sized avatar

Jeronimo Avelar Filho jeroavf

View GitHub Profile
@murilopontes
murilopontes / esp8266-esp01-relay-web-mqtt.ino
Created April 26, 2015 12:49
ESP8266 ESP-01 relay control using Web server or MQTT
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
const char* wifi_ssid = "XXXXX";
const char* wifi_password = "XXXXX";
char* mqtt_server = "iot.eclipse.org";
char* mqtt_user = "";