Skip to content

Commit 1978a3a

Browse files
SV-ZanshinSV-Zanshin
authored andcommitted
Issue #9
1 parent b6ec024 commit 1978a3a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Zanshin_BME680.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,4 +476,4 @@ bool BME680_Class::setGas(uint16_t GasTemp, uint16_t GasMillis)
476476
putData(BME680_CONTROL_GAS_REGISTER2,(uint8_t)(gasRegister|B00010000));
477477
} // of if-then-else turn gas measurements on or off
478478
return true;
479-
} // of method setGas()
479+
} // of method setGas()

src/Zanshin_BME680.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ Version | Date | Developer | Comments
101101
/*! @brief Enumerate the iir filter types */
102102
enum iirFilterTypes {IIROff,IIR2,IIR4,IIR8,IIR16,IIR32,IIR64,IIR128,UnknownIIR};
103103

104-
/*!
105-
* @class BME680_Class
106-
* @brief Main BME680 class for the temperature / humidity / pressure sensor
107-
*/
108104
class BME680_Class
109105
{
106+
/*!
107+
* @class BME680_Class
108+
* @brief Main BME680 class for the temperature / humidity / pressure sensor
109+
*/
110110
public:
111-
BME680_Class();
112-
~BME680_Class();
111+
BME680_Class(); // Class constructor (unused)
112+
~BME680_Class(); // Class destructor (unused)
113113
bool begin(); // Start using I2C Communications
114114
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.
117117
bool begin(const uint8_t chipSelect, const uint8_t mosi, // Start using software SPI
118118
const uint8_t miso, const uint8_t sck); //
119119
bool setOversampling(const uint8_t sensor, const uint8_t sampling); // Set enum sensorType Oversampling
@@ -129,7 +129,7 @@ Version | Date | Developer | Comments
129129
void readSensors(const bool waitSwitch); ///< read the registers in one burst
130130
void waitForReadings(); ///< Wait for readings to finish
131131
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
133133
uint8_t _cs,_sck,_mosi,_miso; ///< Hardware and software SPI pins
134134
uint8_t _H6,_P10,_res_heat_range; ///< unsigned configuration vars
135135
int8_t _H3,_H4,_H5,_H7,_G1,_G3,_T3,_P3,_P6,_P7, //

0 commit comments

Comments
 (0)