I can program a simple blink sketch on my ESP8266 and it runs fine. When I load my basic Cayenne sketch the program will upload but wont run. I have Arduino IDE 1.8.3. I have tried commenting out Cayenne.run() but I still get the same result. The only way I can see any serial output is when I have the baud rate set to 74880 when I reset or power on the ESP8266. The output is
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0xef
csum 0xef
csum err
ets_main.c
#define CAYENNE_DEBUG // Uncomment to show debug messages
#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"
#define VIRTUAL_PIN 1
// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "*****";
// Your network name and password.
char ssid[] = "*******";
char password[] = "*******";
void setup()
{
Serial.begin(9600);
Cayenne.begin(token, ssid, password);
}
void loop()
{
Cayenne.run();
}