BME280 Library

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2018-04-15 | updated: 2019-05-01

This is a library written in C that commuicates with the BME280 sensor from Adafruits.

The library uses i2c to communicate with the sensor and provides Temperature, Humidity, and Barametric pressure.

This sensor requires a lot of math to built the data for these sensors and doing this in integer math is complicated.

The library also has a define to use floating point as well.

enjoy

Mike

Updated code so that if the sensor is not found the code would not hang.  Added documentation for functions.

 

Original File Upload
AttachmentSize
Package icon libbme280.zip124.78 KB

Comments