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