mirror of
https://github.com/eclipse/upm.git
synced 2025-07-27 06:01:16 +03:00
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:
@ -40,13 +40,6 @@
|
||||
upm::IPressureSensor* getPressureSensor()
|
||||
{
|
||||
upm::IPressureSensor* pressureSensor = NULL;
|
||||
try {
|
||||
pressureSensor = new upm::BME280 (mraa_get_sub_platform_id(FT4222_I2C_BUS));
|
||||
return pressureSensor ;
|
||||
} catch (std::exception& e)
|
||||
{
|
||||
std::cerr <<"BME280: "<<e.what() << std::endl;
|
||||
}
|
||||
|
||||
try {
|
||||
pressureSensor = new upm::BMPX8X(EDISON_I2C_BUS);
|
||||
|
Reference in New Issue
Block a user