Exit Status 1 Error messege

I keep getting this error messege . I connected and tried to do the example blink code and now the robot does not function at all . Please help I am new to this

Arduino: 1.8.0 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\Vicky\Downloads\FW5VI90IUOHMPMB\FW5VI90IUOHMPMB.ino:7:21: fatal error: NewPing.h: No such file or directory

#include <NewPing.h>

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

You need to install the NewPing library

I tried that . I don't really know much about code but so I used one That is free from youtube and it wont work I'm not really sure what to do I just need a code for it it avoid obstacles any advice is very welcomed

You need to download the NewPing library from https://github.com/PaulStoffregen/NewPing and install it.

Not behind my computer so can't give exact instructions.

Arduino: 1.8.0 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

^

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Post your code, all of it, in code tags. Without that, what can we all do? And pretty soon the big-boys will show up on this thread and beat you up for asking without posting code. So get on it.

-jim lee

#include <IRremote.h>
#include <Servo.h>
//define motor pin**
int MotorRight1=5;
int MotorRight2=6;
int MotorLeft1=10;
int MotorLeft2=11;
int counter=0;
const int irReceiverPin = 2; //Infrared recive connect to pin 2

//set detect IRcode**
long IRfront= 0x00FFA25D; //go forward code
long IRback=0x00FF629D; //go back code
long IRturnright=0x00FFC23D; //turn right code
long IRturnleft= 0x00FF02FD; //turn left code
long IRstop=0x00FFE21D; //stop code
long IRcny70=0x00FFA857; //CNY70 automatic move mode
long IRAutorun=0x00FF906F; //ultrasonic detect automatic move mode
long IRturnsmallleft= 0x00FF22DD;
//dedine CNY70 pin***********
const int SensorLeft = 7; //left sensor input
const int SensorMiddle= 4 ; //middle sensor input
const int SensorRight = 3; //right sensor input
int SL; //left sensor status
int SM; //middle sensor stattus
int SR; //right sensor status
IRrecv irrecv(irReceiverPin); // define IRrecv signal
decode_results results; // put decode result in "results"
//define ultrasonic module pin****
int inputPin =13 ; // define ultrasonic module recive signal RX pin
int outputPin =12; // define ultrasonic module echo signal TX pin
int Fspeedd = 0; // distance in front
int Rspeedd = 0; // distance in right
int Lspeedd = 0; // distance in left
int directionn = 0; // forward=8; back=2; left=4; right=6
Servo myservo; // set myservo
int delay_time = 250; // stabilization time of servo motor turn back
int Fgo = 8; // go forward
int Rgo = 6; // turn right
int Lgo = 4; // turn left
int Bgo = 2; // go back
//********************************************************************(SETUP)
void setup()
{
Serial.begin(9600);
pinMode(MotorRight1, OUTPUT); // pin 8 (PWM)
pinMode(MotorRight2, OUTPUT); // pin 9 (PWM)
pinMode(MotorLeft1, OUTPUT); // pin 10 (PWM)
pinMode(MotorLeft2, OUTPUT); // pin 11 (PWM)
irrecv.enableIRIn(); // start infrared encode
pinMode(SensorLeft, INPUT); //define left sensor
pinMode(SensorMiddle, INPUT);//define middle sensor
pinMode(SensorRight, INPUT); //define right sensor
digitalWrite(2,HIGH);
pinMode(inputPin, INPUT); // define ultrasonic recive pin
pinMode(outputPin, OUTPUT); // define ultrasonic echo pin
myservo.attach(9); // deine servo motor pin

}
//******************************************************************(Void)
void advance(int a) // go forward
{
digitalWrite(MotorRight1,LOW);
digitalWrite(MotorRight2,HIGH);
digitalWrite(MotorLeft1,LOW);
digitalWrite(MotorLeft2,HIGH);
delay(a * 100);
}
void right(int b) //turn right (single wheel)
{
digitalWrite(MotorLeft1,LOW);
digitalWrite(MotorLeft2,HIGH);
digitalWrite(MotorRight1,LOW);
digitalWrite(MotorRight2,LOW);
delay(b * 100);
}
void left(int c) //turn left(single wheel)
{
digitalWrite(MotorRight1,LOW);
digitalWrite(MotorRight2,HIGH);
digitalWrite(MotorLeft1,LOW);
digitalWrite(MotorLeft2,LOW);
delay(c * 100);
}
void turnR(int d) //turn right (double wheels)
{
digitalWrite(MotorRight1,HIGH);
digitalWrite(MotorRight2,LOW);
digitalWrite(MotorLeft1,LOW);
digitalWrite(MotorLeft2,HIGH);
delay(d * 100);
}
void turnL(int e) //turn left (double wheels)
{
digitalWrite(MotorRight1,LOW);
digitalWrite(MotorRight2,HIGH);
digitalWrite(MotorLeft1,HIGH);
digitalWrite(MotorLeft2,LOW);
delay(e * 100);
}
void stopp(int f) //stop
{
digitalWrite(MotorRight1,LOW);
digitalWrite(MotorRight2,LOW);
digitalWrite(MotorLeft1,LOW);
digitalWrite(MotorLeft2,LOW);
delay(f * 100);
}
void back(int g) //go back
{
digitalWrite(MotorRight1,HIGH);
digitalWrite(MotorRight2,LOW);
digitalWrite(MotorLeft1,HIGH);
digitalWrite(MotorLeft2,LOW);;
delay(g * 100);
}

Can you use google? That particular message, and it's stupidly simple solution has been posted about 44565782365482128 times.

as stated before I really don't know what I am doing but thank you for being so welcoming to someone just beginning , Thank you I bet you feel smart

google "error int RECV_PIN = TKD2; // the pin the IR receiver is connected to"

The code that is being compiled when the error occurs is for some device. Do you HAVE that device? If not, DELETE THE FILE THAT WON'T COMPILE.