Hello everybody,
I have trouble running a photon (with following code) connected to a Blynk local server. The problem is that my Blynk app is reporting that the photon is not online. I get no errors just that the photon is not online. I am certain about the authorisation code, the ip for the blynk local server and also about the blynk local server itself. The firmware of the photon is 0.7.0. The LED-indication on the photon shows no problem.
Anybody an idea what is wrong?
Thanks in advance,
Bart
#include <blynk.h>
#define BLYNK_PRINT Serial
char auth[] = "0338485e588e47a0ae39868db60124c7";
Servo motor;
void setup()
{
Serial.begin(9600);
delay(5000); // Allow board to settle
Blynk.begin(auth, IPAddress(192,168,0,101), 8080);
motor.attach(D0);
}
void loop()
{
Blynk.run();
}
BLYNK_WRITE(V1)
{
motor.writeMicroseconds(param.asInt());
}