finitespace / BME280

Provides an Arduino library for reading and interpreting Bosch BME280 data over I2C, SPI or Sw SPI.
GNU General Public License v3.0
212 stars 105 forks source link

AbsoluteHumidity and HeatIndex environment calculations missing #119

Closed Damiasroca closed 3 years ago

Damiasroca commented 3 years ago

First off, did you read the manual? Did it answer your question? Second, did you look at the examples? Did they answer your question? No, alright, please discribe the problem below.

Expected behavior

Calculate AbsoluteHumidity and HeatIndex

Actual behavior

error: 'AbsoluteHumidity' is not a member of 'EnvironmentCalculations'
error: 'HeatIndex' is not a member of 'EnvironmentCalculations'

Steps to reporduce the behavior

Add this variable into you sketch float AbsoluteHumidity = EnvironmentCalculations::AbsoluteHumidity(temperature, humidity, envTempUnit); float HeatIndex = EnvironmentCalculations::HeatIndex(temperature, humidity, envTempUnit);

Damiasroca commented 3 years ago

Solved, mismatch between the library downloaded within Arduino IDE and this one in GH