Skip to content

Commit e2a7920

Browse files
committed
alter test
1 parent e66cca0 commit e2a7920

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bmp180/test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ int main()
77
{
88
cout << "testing BMP180" << endl;
99
BMP180 sensor = BMP180();
10-
sensor.readTemperature();
11-
cout << "done" << endl;
10+
cout << "Temperature: " << sensor.readTemperature() << " m" << endl;
11+
cout << "Pressure: " << sensor.readPressure() << " Pa" << endl;
12+
cout << "Altitude: " << sensor.readAltitude() << " m" << endl;
1213
return 0;
1314
}

0 commit comments

Comments
 (0)