ESP8266 No debug on serial monitor

Following instructions from this video

Project works because I can turn on/off an LED on pin 13, but, I see no debug on the serial monitor.

Using a Huzzah ESP8266 breakout board with this code

#define CAYENNE_DEBUG
#define CAYENNE_PRINT Serial

#include <CayenneMQTTESP8266.h>

char ssid = “…”;
char password = “…”;
char username = “a…c”;
char mqtt_password = “5…0”;
char client_id = “5…e”;

void setup() {
Cayenne.begin(username, mqtt_password, client_id, ssid, password);
pinMode(13,OUTPUT);
digitalWrite(13, LOW);
}

void loop() {
Cayenne.loop();
}

CAYENNE_IN(0) {
digitalWrite(13, !getValue.asInt());
}

Hello Sir,
for a serial debug, you have to use the command: Serial.begin(9600); with any speed related to your needs!

1 Like

Thank you, that did the trick!

Forgot that this is debugging 101!

1 Like

Should I consider the theme as closed ? :slight_smile:

Yup, thanks

1 Like