Error compiling for board NodeMCU 1.0 (ESP-12E Module). for MS5837

I have problem....
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

#include <Wire.h>
#include "MS5837.h"
MS5837 sensor;
void setup() {
  Serial.begin(9600);
  Serial.println("Starting");
  Wire.begin();
  // Initialize pressure sensor
  // Returns true if initialization was successful
  // We can't continue with the rest of the program unless we can initialize the sensor
  while (!sensor.init()) {
    Serial.println("Init failed!");
    Serial.println("Are SDA/SCL connected correctly?");
    Serial.println("Blue Robotics Bar30: White=SDA, Green=SCL");
    Serial.println("\n\n\n");
    delay(5000);
  }
  sensor.setModel(MS5837::MS5837_30BA);
  sensor.setFluidDensity(997); // kg/m^3 (freshwater, 1029 for seawater)
}
void loop() {
  // Update pressure and temperature readings
  sensor.read();
  Serial.print("Pressure: "); 
  Serial.print(sensor.pressure()); 
  Serial.println(" mbar");
  Serial.print("Temperature: "); 
  Serial.print(sensor.temperature()); 
  Serial.println(" deg C");
  Serial.print("Depth: "); 
  Serial.print(sensor.depth()); 
  Serial.println(" m");
  Serial.print("Altitude: "); 
  Serial.print(sensor.altitude()); 
  Serial.println(" m above mean sea level");
  delay(1000);
}

Please help me....

Hello,

this is not an installation question

do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).

I moved your post to the questions category but you need to provide more info. for example what's the error message you see, what's your configuration etc...

thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.