Particle Photon showing offline using new Blynk

Okay, after scanning through the library code, figured out that it looks at blynk.cloud if it finds #define BLYNK_TEMPLATE_ID in the code. I therefore rearranged the order so that is higher up [as below] and it now connects to blynk.cloud and shows online! :slight_smile:

#define BLYNK_PRINT Serial // Defines the object that is used for printing
#define BLYNK_DEBUG        // Optional, this enables more detailed prints
#define BLYNK_TEMPLATE_ID "myID"
#define BLYNK_DEVICE_NAME "myNAME"

// This #include statement was automatically added by the Particle IDE.
#include <blynk.h>

Hopefully this may help others having the same issue!? - Now my Pro trial has expired before I even managed to get online! :frowning: Any chance of another @Pavlo for finding a bug? :slight_smile: :grinning:

2 Likes