Skip to content

Instantly share code, notes, and snippets.

#include <SimpleTimerA.h>
#include <PubSubClient.h>
#include <Ethernet.h>
#include <SPI.h>
//USER CONFIGURED SECTION START//
const char* mqtt_server = "192.168.1.27";
const int mqtt_port = 1883;
const char *mqtt_user = "MQTT";
const char *mqtt_pass = "xxxxxxx";