Hi,
I use wifi shield CC3000 and using below code to run a servo,
-define BLYNK_PRINT Serial // Comment this out to disable prints and save space
// These are the interrupt and control pins for СС3000
-define ADAFRUIT_CC3000_IRQ 3
-define ADAFRUIT_CC3000_VBAT 5
-define ADAFRUIT_CC3000_CS 10
-include SPI.h
-include Adafruit_CC3000.h
-include BlynkSimpleCC3000.h
-include Servo.h //added
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “xxx”;
Servo servo; //added
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, “yyy”, “zzz”, WLAN_SEC_WPA2);
servo.attach(9);
}
BLYNK_WRITE(V3)
{
servo.write(param.asInt());
}
void loop()
{
Blynk.run();
}
Serial monitor says, [2631] Connecting to yyy…
What I am doing wrong, thanks in advance for your kind help,
Best Regards,
Mustafa ASLAN