Skip to content

Commit 6dd0149

Browse files
committed
Update README
1 parent 8a2a439 commit 6dd0149

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: README

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# bme280
2-
Using BME280 sensor from Bosch at AVR mikrocontrollers like Atmega328p
2+
Using BME/BMP280 sensor from Bosch at AVR mikrocontrollers like Atmega328p
33

4-
This Library allowed you to use BME280 to sense temperature, pressure and humidity with AVR microcontroller like Atmega328.
5-
For communication with the BME280 I'll use my own I2C library (settings for I2C in i2c.h).
4+
This Library allowed you to use up to two BME/BMP280 to sense temperature, pressure and humidity (only with BME280) with AVR microcontroller like Atmega328.
5+
For communication with the BME/BMP280 I'll use my own I2C library (settings for I2C in i2c.h).
66

7-
Default settings for sensor are:
7+
Default settings for sensors are:
88

99
standby-time: 250 ms
1010
iir-filter: 8x
@@ -31,9 +31,9 @@ int main(void){
3131
// init sensor
3232
bme280_init();
3333
// read values
34-
temperature = bme280_readTemperature(); // in °C
35-
pressure = bme280_readPressure()/100.0; // in mbar
36-
humidity = bme280_readHumidity(); // in %
34+
temperature = bme280_readTemperature(0); // in °C
35+
pressure = bme280_readPressure(0)/100.0; // in mbar
36+
humidity = bme280_readHumidity(0); // in %
3737

3838
for(;;){
3939
// main-loop

0 commit comments

Comments
 (0)