#define BLYNK_PRINT Serial #define BLYNK_USE_DIRECT_CONNECT #include #include #include #include // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "Your Auth Token"; // create three servo objects Servo servo1; Servo servo2; Servo servo3; BLYNK_WRITE(V1) { servo1.write(param.asInt()); } BLYNK_WRITE(V2) { servo2.write(param.asInt()); } BLYNK_WRITE(V3) { servo3.write(param.asInt()); } void setup() { { // Debug console Serial.begin(9600); Serial.println("Waiting for connections..."); Blynk.setDeviceName("Blynk"); Blynk.begin(auth); servo1.attach(4); servo2.attach(12); servo3.attach(14); } } void loop() { Blynk.run(); }