Skip to content

Instantly share code, notes, and snippets.

View dotandpixel's full-sized avatar

Andrew Peel dotandpixel

  • Dot+Pixel
  • Sydney
View GitHub Profile
/*
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;