Skip to content

Instantly share code, notes, and snippets.

/*
Basic MQTT example
*/
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>
// Built-in LED on your Arduino is pin 13, or LED_BUILTIN (which also returns 13)
const int ledPin = 13;