@@ -101,19 +101,19 @@ Version | Date | Developer | Comments
101
101
/* ! @brief Enumerate the iir filter types */
102
102
enum iirFilterTypes {IIROff,IIR2,IIR4,IIR8,IIR16,IIR32,IIR64,IIR128,UnknownIIR};
103
103
104
- /* !
105
- * @class BME680_Class
106
- * @brief Main BME680 class for the temperature / humidity / pressure sensor
107
- */
108
104
class BME680_Class
109
105
{
106
+ /* !
107
+ * @class BME680_Class
108
+ * @brief Main BME680 class for the temperature / humidity / pressure sensor
109
+ */
110
110
public:
111
- BME680_Class ();
112
- ~BME680_Class ();
111
+ BME680_Class (); // Class constructor (unused)
112
+ ~BME680_Class (); // Class destructor (unused)
113
113
bool begin (); // Start using I2C Communications
114
114
bool begin (const uint32_t i2cSpeed); // I2C with a non-default speed
115
- bool begin (const uint8_t chipSelect); // Start using either I2C or hardware SPI
116
- bool begin (const uint32_t i2cSpeed, const uint8_t i2cAddress); // Explicitly set speed and I2C Address
115
+ bool begin (const uint8_t chipSelect); // Start using either I2C or HW- SPI
116
+ bool begin (const uint32_t i2cSpeed, const uint8_t i2cAddress); // Explicitly set speed and I2C Addr.
117
117
bool begin (const uint8_t chipSelect, const uint8_t mosi, // Start using software SPI
118
118
const uint8_t miso, const uint8_t sck); //
119
119
bool setOversampling (const uint8_t sensor, const uint8_t sampling); // Set enum sensorType Oversampling
@@ -129,7 +129,7 @@ Version | Date | Developer | Comments
129
129
void readSensors (const bool waitSwitch); // /< read the registers in one burst
130
130
void waitForReadings (); // /< Wait for readings to finish
131
131
void getCalibration (); // /< Load calibration from registers
132
- uint8_t _I2CAddress = 0 ; // /< Default is no I2C address known
132
+ uint8_t _I2CAddress = 0 ; // /< Default is I2C address is unknown
133
133
uint8_t _cs,_sck,_mosi,_miso; // /< Hardware and software SPI pins
134
134
uint8_t _H6,_P10,_res_heat_range; // /< unsigned configuration vars
135
135
int8_t _H3,_H4,_H5,_H7,_G1,_G3,_T3,_P3,_P6,_P7, //
0 commit comments