A library to read BME280 sensor with error detection

Fork of BME280 by Toyomasa Watarai

Files at this revision

API Documentation at this revision

Comitter:
Vlad
Date:
Fri Jan 20 00:35:46 2017 +0000
Parent:
5:3eb4c6c38dc4
Commit message:
10Khz I2C

Changed in this revision

BME280.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 3eb4c6c38dc4 -r 2f87adc3e6b7 BME280.cpp
--- a/BME280.cpp	Fri Dec 30 03:13:46 2016 +0000
+++ b/BME280.cpp	Fri Jan 20 00:35:46 2017 +0000
@@ -23,6 +23,7 @@
     t_fine(0)
 {
     initialize();
+    i2c.frequency(10000);
 }
 
 BME280::BME280(I2C &i2c_obj, char slave_adr)