I have copyed this code and i get this eror
i have copied from here: http://coreyrenner.tumblr.com/post/56531743410/the-flashlights-were-dismantled-to-get-to-their
#include <Servo.h>
#include <Wire.h>
#include <I2Cdev.h>
#include <MPU6050.h>
MPU6050 mpu;
int16_t ax, ay, az;
int16_t gx, gy, gz;
Servo myservo;
int val;
int prevVal;
void setup()
{
Wire.begin();
Serial.begin(38400);
Serial.println(“Initialize MPU”);
mpu.initialize();
Serial.println(mpu.testConnection() ? “Connected” : “Connection failed”);
myservo.attach(9);
}
void loop()
{
mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);
val = map(ay, -17000, 17000, 0, 179);
if (val != prevVal)
{
myservo.write(val);
prevVal = val;
}
delay(50);
}