Compiling Error for Blynk Wifi Car - Not Declared In Scope? Library Issue?

Hi - I’m working on a Wifi controlled car using 2 servo motors (SumoBot). Having serious issues with connecting to the board. I have our own dedicated wifi network set up that I’m trying to connect to, but we haven’t even gotten that far. We’ve tried reinstalling libraries, using an FTDI breakout, the whole 9 yards. Still getting this error every time:

blink2:55: error: 'Blynk' was not declared in this scope
Blynk.begin(BlynkAuth, ssid, pass);  // wifi username and password

Here’s our code:

#include <Servo.h>
#include <SPI.h>
#include <Blynk.h>
#include <Adafruit_NeoPixel.h>
#include <SoftwareSerial.h>

#define BLYNK_PRINT Serial

char BlynkAuth[] = "6dfb81c116d84003a505056239c23559";
char ssid[] = "Linksys23266";
char pass[] = "roboboyz";

Servo servoR;
Servo servoL;

int pos = 90;


void forward()
{
  servoR.write(110);
  servoL.write(110);
}

void turnRight()
{
  servoR.write(80);
  servoL.write(90);
  delay (2000);
}

void turnLeft()
{
  servoR.write(90);
  servoL.write(80);
  delay(2000);
}

void reverse()
{
  servoR.write(70);
  servoL.write(70);
  delay(2000);
}

void Stop()
{
  servoR.write(94);
  servoL.write(94);
  delay(2000);
}

void setup()
{
  Blynk.begin(BlynkAuth, ssid, pass);  // wifi username and password
  servoR.attach(12);
  servoL.attach(13);
  Serial.begin(9600);
  delay(1000);
}

BLYNK_WRITE(V1) 
{
  int x = param[0].asInt();
  int y = param[1].asInt();

  // Do something with x and y
/*  Serial.print("X = ");
  Serial.print(x);
  Serial.print("; Y = ");
  Serial.println(y);*/
  if(y>220)
  forward();
  else if(y<35)
  reverse();
  else if(x>220)
  turnRight();
  else if(x<35)
  turnLeft();
  else
  Stop();
}

void loop()
{
  Blynk.run();
}

Thanks in advance for any advice. We’re fried here.

You need a different library call than this one… what type of device are you installing the sketch onto?

I am sure there is a list or document somewhere that says which library to load for which hardware, but I haven’t found it… Well, OK, I haven’t looked :wink:

I just use the Sketch Builder (link at the top right of this page) and pick the Board and Connection, then look in the example for the correct Blynk library to install.

We’re using the Sparkfun Blynk Board.

then you want these two instead of the one you have

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>