Problem with my project Ultrasonic with LCD and Leds

I have been working in a project, it´s with an Ultrasonic sensor and some LEDs and a Nuzzer, but my code is wrong, can you help me? it´s kind of urgent, the note is this one:

no matching function for call to 'LiquidCrystal::LiquidCrystal(int, int, int, int, int, int, int, int, int)'

I´m kind of new so I don´t exactly know what to do, the code is the next one:

#include <LiquidCrystal.h>


#define trigPin 7
#define echoPin 6
 
#define led 8
#define led2 9
#define led3 10

#define buzzer 3
 

LiquidCrystal lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3);
 
int sound = 250;
 
void setup() {
  
  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);

  pinMode(buzzer, OUTPUT);
 
 
 
  lcd.begin(16,2);
//  lcd.noBacklight();
 

  lcd.setCursor(0, 0);
  lcd.print("tecnogame.org");
}
 
void loop() {
  long duration, distance;
  digitalWrite(trigPin, LOW); 
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);  
  distance = (duration/2) / 29.1;   
 

  for(int i = 0; i &lt; 16; i++){
  lcd.setCursor(i, 1);
  lcd.print(" ");
  }
 

  if (distance &lt;= 100) {
    digitalWrite(led, HIGH);
    sound = 250;
  }else{
    digitalWrite(led,LOW);
  }
 
  if (distance &lt; 66) {
    digitalWrite(led2, HIGH);
    sound = 260;
  }else{
    digitalWrite(led2, LOW);
  }

  if (distance &lt; 32) {
    digitalWrite(led3, HIGH);
    sound = 290;
  }else{
    digitalWrite(led5,LOW);
  }
 
  if (distance &lt; 15) { digitalWrite(led6, HIGH); sound = 300; }else{ digitalWrite(led6,LOW); } // En caso de que la distancia sea mayor que 1 metro (100 cm) o menor que 2 cm, indicamos que "no hay obstáculos" if (distance &gt; 100 || distance &lt;= 2){
    Serial.println("Sin obstáculos");
 
    lcd.setCursor(0, 1);
    lcd.print("Sin obstaculos");  
 
    noTone(buzzer);
  }else{

    Serial.print(distance);
    Serial.println(" cm");
 
    lcd.setCursor(0, 1);
    lcd.print(int(distance));  
    lcd.setCursor(2, 1);
    lcd.print(" cm");
 
    tone(buzzer, sound);   
  }
 
  delay(200);
}

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

Please help.

I have been working in a project, it´s with an Ultrasonic sensor and some LEDs and a Nuzzer, but my code is wrong, can you help me? it´s kind of urgent, it says that the language used is not correct for the library being used, do you know which one to use?

I´m kind of new so I don´t exactly know what to do, the code is the next one:

#include <LiquidCrystal_I2C>


#define trigPin 7
#define echoPin 6
 
#define led 8
#define led2 9
#define led3 10

#define buzzer 3
 

LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3);
 
int sound = 250;
 
void setup() {
  
  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);

  pinMode(buzzer, OUTPUT);
 
 
 
  lcd.begin(16,2);
//  lcd.noBacklight();
 

  lcd.setCursor(0, 0);
  lcd.print("Distance");
}
 
void loop() {
  long duration, distance;
  digitalWrite(trigPin, LOW); 
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);  
  distance = (duration/2) / 29.1;   
 

  for(int i = 0; i &lt; 16; i++){
  lcd.setCursor(i, 1);
  lcd.print(" ");
  }
 

  if (distance &lt;= 100) {
    digitalWrite(led, HIGH);
    sound = 250;
  }else{
    digitalWrite(led,LOW);
  }
 
  if (distance &lt; 66) {
    digitalWrite(led2, HIGH);
    sound = 260;
  }else{
    digitalWrite(led2, LOW);
  }

  if (distance &lt; 32) {
    digitalWrite(led3, HIGH);
    sound = 290;
  }else{
    digitalWrite(led3,LOW);
  }
 
  if (distance &lt; 15) { digitalWrite(led3, HIGH); sound = 300; }else{ digitalWrite(led3,LOW); }  if (distance &gt; 100 || distance &lt;= 2){
    Serial.println("Sin obstáculos");
 
    lcd.setCursor(0, 1);
    lcd.print("Sin obstaculos");  
 
    noTone(buzzer);
  }else{

    Serial.print(distance);
    Serial.println(" cm");
 
    lcd.setCursor(0, 1);
    lcd.print(int(distance));  
    lcd.setCursor(2, 1);
    lcd.print(" cm");
 
    tone(buzzer, sound);   
  }
 
  delay(200);
}

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

Please use CTRL T to format your code.
Attach your sketch between code tags
[code]Paste your sketch here[/code]

I did that, but what´s the objective of the brackets?

#include <LiquidCrystal_I2C.h>


#define trigPin 7
#define echoPin 6

#define led 8
#define led2 9
#define led3 10

#define buzzer 3


LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3);

int sound = 250;

void setup() {

  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);

  pinMode(buzzer, OUTPUT);



  lcd.begin(16, 2);
  //  lcd.noBacklight();


  lcd.setCursor(0, 0);
  lcd.print("Distance");
}

void loop() {
  long duration, distance;
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);
  distance = (duration / 2) / 29.1;


  for (int i = 0; i & lt; 16; i++) {
    lcd.setCursor(i, 1);
    lcd.print(" ");
  }


  if (distance & lt; = 100) {
    digitalWrite(led, HIGH);
    sound = 250;
  } else {
    digitalWrite(led, LOW);
  }

  if (distance & lt; 66) {
    digitalWrite(led2, HIGH);
    sound = 260;
  } else {
    digitalWrite(led2, LOW);
  }

  if (distance & lt; 32) {
    digitalWrite(led3, HIGH);
    sound = 290;
  } else {
    digitalWrite(led3, LOW);
  }

  if (distance & lt; 15) {
    digitalWrite(led3, HIGH);
    sound = 300;
  } else {
    digitalWrite(led3, LOW);
  }  if (distance & gt; 100 || distance & lt; = 2) {
    Serial.println("Sin obstáculos");

    lcd.setCursor(0, 1);
    lcd.print("Sin obstaculos");

    noTone(buzzer);
  } else {

    Serial.print(distance);
    Serial.println(" cm");

    lcd.setCursor(0, 1);
    lcd.print(int(distance));
    lcd.setCursor(2, 1);
    lcd.print(" cm");

    tone(buzzer, sound);
  }

  delay(200);
}

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

This is unusual...

 if (distance & lt; 66) {

That looks like an HTML code for <. It is not valid Arduino code.

Please copy and paste any error messages. We can't use your description of the error message.

[code]Paste your sketch here[/code]

Shows your code in a format that we can more easily comment on.

There is a </> button in the posting menu to generate the code tags.

The how to use this forum-please read stickies (in bold at the top of each topic) explain how to properly post code and error messages. Also some advice on how to get the most from the forum. Post the entire error message. Using the forum in accordance with the guidelines saves eveyryone's time.

Larry, the tag you are looking for is . If that is paired properly, it will display the tags you typed.

I have been working in a project, it´s with an Ultrasonic sensor and some LEDs and a Nuzzer, but my code is wrong, can you help me? it´s kind of urgent, it says that the language used is not correct for the library being used, do you know which one to use?

I´m kind of new so I don´t exactly know what to do, the code is the next one:

#include <LiquidCrystal_I2C>


#define trigPin 7
#define echoPin 6
 
#define led 8
#define led2 9
#define led3 10

#define buzzer 3
 

LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3);
 
int sound = 250;
 
void setup() {
  
  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);

  pinMode(buzzer, OUTPUT);
 
 
 
  lcd.begin(16,2);
//  lcd.noBacklight();
 

  lcd.setCursor(0, 0);
  lcd.print("Distance");
}
 
void loop() {
  long duration, distance;
  digitalWrite(trigPin, LOW); 
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);  
  distance = (duration/2) / 29.1;   
 

  for(int i = 0; i &lt; 16; i++){
  lcd.setCursor(i, 1);
  lcd.print(" ");
  }
 

  if (distance &lt;= 100) {
    digitalWrite(led, HIGH);
    sound = 250;
  }else{
    digitalWrite(led,LOW);
  }
 
  if (distance &lt; 66) {
    digitalWrite(led2, HIGH);
    sound = 260;
  }else{
    digitalWrite(led2, LOW);
  }

  if (distance &lt; 32) {
    digitalWrite(led3, HIGH);
    sound = 290;
  }else{
    digitalWrite(led3,LOW);
  }
 
  if (distance &lt; 15) { digitalWrite(led3, HIGH); sound = 300; }else{ digitalWrite(led3,LOW); }  if (distance &gt; 100 || distance &lt;= 2){
    Serial.println("Sin obstáculos");
 
    lcd.setCursor(0, 1);
    lcd.print("Sin obstaculos");  
 
    noTone(buzzer);
  }else{

    Serial.print(distance);
    Serial.println(" cm");
 
    lcd.setCursor(0, 1);
    lcd.print(int(distance));  
    lcd.setCursor(2, 1);
    lcd.print(" cm");
 
    tone(buzzer, sound);   
  }
 
  delay(200);
}

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

Yes, I lost those.

OP please do not cross post in the different forums!

Post the full text of any and all error messages, not your paraphrasing of them; it is key to knowing what is going on. You can even click the "copy error messages" button and then paste all the errors into your post, real easy!

And tell us what board you are using!

Also, use code tags (see the how to use this forum link at the top of every section for instructions) when posting code.

OP do not cross post.

Another post complete with the same improperly posted code and vague descrption of the error? Stop cross posting.

If you had followed the guidelines you would proably have your answer already.

@oscar8as, stop cross-posting. Last warning.