Board Error(?)

Hello ;D ;D

I am making a project for assessment but, there is a problem that I encountered. Board error occurred. I’ve tried replacing the syntax used but it’s the same

But according to my analysis, this error occurs when I try to input coding for LCD with I2C

can someone help me?

forgive me for bad english :sweat_smile:

DHT 11 to LCD I2C

#include <DHT.h>
#include <LiquidCrystal_I2C.h>
#define DHTPin 2 //define DHT pin
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
DHT dht;
void setup() {
void loop() {
float temp = dht.getTemperature();
float humi = dht.getHumidity();
lcd.print(“Temp: “);
lcd.print(” C”);
lcd.print(“Humi: “);
lcd.print(” %”);

Which LCD library are you using? Cannot find any with such constructor used in your code.

A picture of the error message is worthless. We need to see the whole error message. See the copy error message button? Click that and then paste the error message into a post in code tags. Post your code in code tags to. Read the how to use this forum-please read sticky to see how to use code tags (see #7).

Looks like your setup() function is missing a closing }