please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly. Triple backticks look like this: ```
#define BLYNK_DEFAULT_DOMAIN “blynk.cloud”
// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID “xxxxxxxxxxxx”
#define BLYNK_DEVICE_NAME “Test”
#define BLYNK_AUTH_TOKEN “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
// Comment this out to disable prints and save space
#define BLYNK_PRINT Serial
// Uncomment this, if you want to set network credentials
//#include “cellular_hal.h”
//STARTUP(cellular_credentials_set(“broadband”, “”, “”, NULL));
// Run “ping blynk.cloud”, and set Blynk IP to the shown address
#define BLYNK_IP IPAddress(64,255,16,22)
// Set Blynk hertbeat interval.
// Each heartbeat uses ~90 bytes of data.
#define BLYNK_HEARTBEAT 60
// Set Particle keep-alive ping interval.
// Each ping uses 121 bytes of data.
#define PARTICLE_KEEPALIVE 20
#include <blynk.h>
char auth[] = BLYNK_AUTH_TOKEN;
void setup()
{
// Debug console
Serial.begin(115200);
delay(2000);
Particle.keepAlive(PARTICLE_KEEPALIVE);
Blynk.begin(auth, BLYNK_IP);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
@Pavel Thanks for replying. Do you think is there any other server address that might respond ? or I can use as blynk.cloud responds back with 64.225.16.22 on ping which is inaccessible by Boron as shown. I am trying to migrate to the new Blynk App !
Pinging blynk.cloud [64.225.16.22] with 32 bytes of data:
Reply from 64.225.16.22: bytes=32 time=59ms TTL=55
Reply from 64.225.16.22: bytes=32 time=58ms TTL=55
Reply from 64.225.16.22: bytes=32 time=59ms TTL=55
Reply from 64.225.16.22: bytes=32 time=58ms TTL=55
Why do you need to hard-code the IP at all? Did you try using the default hostname (“blynk.cloud”).
It will automatically be used if IP is not specified