//#define CAYENNE_DEBUG // Uncomment to show debug messages //#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space #include // Cayenne authentication token. This should be obtained from the Cayenne Dashboard. char token[] = "XXXX"; char ssid[] = "XXXX"; char password[] = "XXXX"; // Set ESP8266 Serial object #define EspSerial Serial ESP8266 wifi(EspSerial); void setup() { EspSerial.begin(115200); delay(10); Cayenne.begin(token, wifi, ssid, password); } void loop() { Cayenne.run(); }