Macros
Environmental.h File Reference
+ This graph shows which files directly or indirectly include this file:

Macros

#define ENVI_BME280_HUM_RH_CONV   UINT32_C(1024)
 
#define ENVI_BME280_TEMP_MIILIDEG_CONV   INT32_C(10)
 
#define GET_MAPPING_ERROR   INT8_C(-2)
 
#define GET_MODE   UINT8_C(1)
 
#define GET_STANDBY_TIME   UINT8_C(2)
 
#define HUMIDITY   UINT8_C(2)
 
#define INIT_DONE   UINT8_C(1)
 
#define INIT_NOT_DONE   UINT8_C(0)
 
#define PACKAGE_ID_DEFAULT   UINT32_C(0)
 
#define PRESSURE   UINT8_C(1)
 
#define TEMPERATURE   UINT8_C(0)
 

Detailed Description

The private header for component Environmental

Macro Definition Documentation

#define ENVI_BME280_HUM_RH_CONV   UINT32_C(1024)

output value from BME280 library is 42313.value 42313 = 42313/1024 = 41.321 rH

#define ENVI_BME280_TEMP_MIILIDEG_CONV   INT32_C(10)

Output value from BME280 library is "5123" equals 51.23 DegC. 5213 = 5123/100 DegC = (5123/100)*1000 milliDegC so conversion factor is 10

#define GET_MAPPING_ERROR   INT8_C(-2)
#define GET_MODE   UINT8_C(1)
#define GET_STANDBY_TIME   UINT8_C(2)
#define HUMIDITY   UINT8_C(2)
#define INIT_DONE   UINT8_C(1)
#define INIT_NOT_DONE   UINT8_C(0)
#define PACKAGE_ID_DEFAULT   UINT32_C(0)

default package ID

#define PRESSURE   UINT8_C(1)
#define TEMPERATURE   UINT8_C(0)

This documentation file has been automatically generated on Wed May 6 2020 20:45:16 by doxygen 1.8.8