Device & model you are using Arduino YUN
Hi
I’m setting up my Firstvisit schetch on my Arduino Yun, I loaded the basic Script:
`#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include <CayenneYun.h>
// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token = “***********”;
void setup()
{
Serial.begin(9600);
Cayenne.begin(token);
}
void loop()
{
Cayenne.run();
}
indent preformatted text by 4 spaces
And there is a error compilation:
In file included from C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/Adapters/BlynkArduinoClient.h:14:0,
from C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/BlynkSimpleYun.h:19,
from C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/CayenneYun.h:24,
from C:\Users\ecaba\AppData\Local\Temp\untitled1077667858.tmp\sketch_nov04a\sketch_nov04a.ino:2:
C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/BlynkApiArduino.h:110:6: warning: #warning “analogInputToDigitalPin not defined => Named analog pins will not work” [-Wcpp]
#warning "analogInputToDigitalPin not defined => Named analog pins will not work"
^
In file included from C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/BlynkSimpleYun.h:20:0,
from C:\Users\ecaba\Documents\Arduino\libraries\Cayenne/CayenneYun.h:24,
from C:\Users\ecaba\AppData\Local\Temp\untitled1077667858.tmp\sketch_nov04a\sketch_nov04a.ino:2:
C:\Program Files (x86)\Arduino\libraries\Bridge\src/YunClient.h:24:2: warning: #warning “The use of YunClient is deprecated. Use BridgeClient instead!” [-Wcpp]
#warning “The use of YunClient is deprecated. Use BridgeClient instead!”
Does anybody knows why I have this error?
Many many thank’s
Eduard