This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430G2253: Need help About BMP180 sensor !

Part Number: MSP430G2253
Other Parts Discussed in Thread: ENERGIA, MSP430G2553

Im have a project about get PRESSURE/TEMPERATURE/ALTITUDE with BMP180 , but when i using example of Library of BMP180 with Energia 0101E0017 , it not work . 

SDA -> P1.7

SCL ->P1.6

My code : 

#include <Wire.h>          // required by BMP085 library
#include <BMP085_t.h>      // import BMP085 template library

BMP085<> PSensor;         // instantiate sensor, 0 = low precision pressure reading

void setup()
{
  Serial.begin(9600);      // initialize serial, used to display readings in Serial Monitor
  Wire.begin();            // initialize I2C that connects to sensor
  PSensor.begin();         // initalize pressure sensor
}

void loop()
{
  PSensor.refresh();                    // read current sensor data
  PSensor.calculate();                  // run calculations for temperature and pressure
  Serial.print("Temperature: ");         
  Serial.print(PSensor.temperature/10);  // display temperature in Celsius
  Serial.print(".");
  Serial.print(PSensor.temperature%10);  // display temperature in Celsius
  Serial.println("C");
  Serial.print("Pressure:    ");
  Serial.print((PSensor.pressure+50)/100);   // display pressure in hPa
  Serial.println("hPa");

  delay(5000);                          // wait a while before next loop
}

Result :