I am getting an error compiling a program that I have used successfully in the past. It is suppose to connect an Arduino Yun to the Blynk 2.0 platform, but I get the following error.
Documents/Arduino/libraries/Blynk/src/BlynkSimpleYun.h:77:2: error: #endif without #if
#endif
^~~~~
exit status 1
Compilation error: exit status 1
I have reinstalled the libraries and still get the same error. I have also
downgraded from 1.3.2 to an earlier version but that did not resolve the issue. Any advice would be greatly appreciated.
#define BLYNK_TEMPLATE_ID "xxxx"
#define BLYNK_TEMPLATE_NAME "xxxx"
#define BLYNK_AUTH_TOKEN "xxxxxx";
#define BLYNK_PRINT Serial
#include <Bridge.h>
#include <BlynkSimpleYun.h>
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(BLYNK_AUTH_TOKEN, "blynk.cloud", 80);
}
void loop()
{
Blynk.run();
}