bosch bme280: Remove old driver in favor of new driver to be added soon

This driver, based on bosch code is being removed in favor of a new
driver to be added soon that is more fully functional and includes SPI
support.

The new driver will be included along with a BMP280 implementation in
a new bmp280 library.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Jon Trulson
2016-05-04 12:24:23 -06:00
committed by Noel Eck
parent dd2bca97b9
commit 84144d0c8f
15 changed files with 4 additions and 4717 deletions

View File

@ -25,7 +25,6 @@
#include <unistd.h>
#include <iostream>
#include "si7005.hpp"
#include "bme280.hpp"
#define EDISON_I2C_BUS 1
#define FT4222_I2C_BUS 0
@ -41,13 +40,6 @@
upm::IHumiditySensor* getHumiditySensor()
{
upm::IHumiditySensor* humiditySensor = NULL;
try {
humiditySensor = new upm::BME280 (mraa_get_sub_platform_id(FT4222_I2C_BUS));
return humiditySensor ;
} catch (std::exception& e)
{
std::cerr <<"BME280: "<<e.what() << std::endl;
}
try {
humiditySensor = new upm::SI7005(EDISON_I2C_BUS, EDISON_GPIO_SI7005_CS);