Hey, new to Blynk. I decided to try a servo test with my Yun. I set it up and connected with the IP of my Yun. Auth token was correct. Ran the blynk server. Open the app and says its not connected. Compiles without a problem, and I upload from both the COM1 port and through WiFi. Doesnt work, what am I doing wrong? I am using the servo script from the library. Where there is an XX in the IP, is where I hidden the last numbers for the sake of posting this.
Rotate a servo using a slider!
App project setup:
Slider widget (0...180) on V3
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <Servo.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "1f874bbd77dc4f8588b64b4ab6f7c8fd";
Servo servo;
BLYNK_WRITE(V3)
{
servo.write(param.asInt());
}
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, IPAddress(192,168,1,XX), 8080);
servo.attach(9);
}
void loop()
{
Blynk.run();
}
```