Mini weather station Table no 17

Teacher - Sarika Jamdade. Students-Soham Mhaske,Samarth sonawane,Avinash Vaidya.
Mentor:Vaishnavi Sanjay Nikam

Step1:checked the names of the components and then tried doing all the connections.
Step2:took the help of few resources and completed the connections.however led wasn’t showing result
Step3:Successfully connected all connection and result were seen.

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Adafruit_BMP085.h>

LiquidCrystal_I2C lcd(0x27, 16, 2); // change to 0x3F if needed
Adafruit_BMP085 bmp;

void setup() {
Wire.begin();

lcd.init();
lcd.backlight();

if (!bmp.begin()) {

Heading

lcd.setCursor(0, 0);
lcd.print(“BMP180 ERROR”);
while (1);
}

lcd.setCursor(0, 0);
lcd.print(“Weather Ready”);
delay(2000);
lcd.clear();
}

void loop() {
float temperature = bmp.readTemperature(); // °C
float pressure = bmp.readPressure() / 100.0; // hPa

lcd.clear();

lcd.setCursor(0, 0);
lcd.print(“Temp: “);
lcd.print(temperature);
lcd.print(” C”);

lcd.setCursor(0, 1);
lcd.print(“Press: “);
lcd.print(pressure);
lcd.print(” hPa”);

delay(2000);
}

Check for the connection or any issues a clear values should be displayed.