I’ve been able to successfully get the slider working and communicating with a virtual pin and I’ve also been able to get the servo working but the mix of all three together seems to hang the arduino board and it loses communications with the Blynk server. Here is the code:
#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>
char auth[] = "<<<<<myauth>>>>>>";
Servo servo1;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, "<<<<mySSID>>>>>", "<<<<<myPass>>>>>>", WLAN_SEC_WPA2);
servo1.attach(10);
}
BLYNK_WRITE(1)
{
servo1.write(param.asInt());
}
void loop()
{
Blynk.run();
}