Skip to content

Instantly share code, notes, and snippets.

@zachfi
zachfi / esp8266_pubsubclient.ino
Created March 3, 2018 22:10 — forked from igrr/esp8266_pubsubclient.ino
PubSubClient sample for ESP8266 Arduino
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
const char* ssid = ".................";
const char* password = "................";
char* topic = "esp8266_arduino_out";
char* server = "iot.eclipse.org";