mirror of
https://github.com/eclipse/upm.git
synced 2025-07-27 06:01:16 +03:00
Added initial interfaces and some sensors implementing them
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
6bf21a23e7
commit
f035470822
@ -110,6 +110,11 @@ float BMP280::getTemperature(bool fahrenheit)
|
||||
return temperature;
|
||||
}
|
||||
|
||||
float BMP280::getTemperature()
|
||||
{
|
||||
return getTemperature(false);
|
||||
}
|
||||
|
||||
float BMP280::getPressure()
|
||||
{
|
||||
return bmp280_get_pressure(m_bmp280);
|
||||
|
Reference in New Issue
Block a user