Cayenne.begin(token); PROBLEM


#1

Good morning, I was using this code in the morning, it was WORKING exacly, then I went out and when I came back, it wasn’t working anymore, I reinstalled the IDE, Libraries, re-upload the code and rebooted the computer… I add this Serial.println to see if the code was looping, but it doesn’t, the code stops exacly in “Cayenne.begin(token);” if I comment this line, the code works normally and start looping (but the cayenne doesn’t works)… I wanna know what’s going on? Why it stopped working… What should I’ve to do?

include UIPEthernet.h // (ETHERNET)
include BlynkSimpleUIPEthernet.h // (ETHERNET)
define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
include CayenneEthernet.h

char token[] = “AuthenticationToken”;

void setup()
{
Serial.begin(9600);
Cayenne.begin(token);
}

void loop()
{
Cayenne.run();
Serial.println(“C”);
}


#2

I would recommend to delete the device and then add it using new Token.


#3

Which ethernet shield are you using?


#4

I’m using ENC28J60


#5

Hello, maybe you already try but, can you delete the device and add new with token.