@@ -102,17 +102,17 @@ Distributed as-is; no warranty is given.
102
102
#define BME280_HUMIDITY_MSB_REG 0xFD // Humidity MSB
103
103
#define BME280_HUMIDITY_LSB_REG 0xFE // Humidity LSB
104
104
105
- // Class SensorSettings . This object is used to hold settings data. The application
105
+ // Class BME280_SensorSettings . This object is used to hold settings data. The application
106
106
// uses this classes' data directly. The settings are adopted and sent to the sensor
107
107
// at special times, such as .begin. Some are used for doing math.
108
108
//
109
109
// This is a kind of bloated way to do this. The trade-off is that the user doesn't
110
110
// need to deal with #defines or enums with bizarre names.
111
111
//
112
- // A power user would strip out SensorSettings entirely, and send specific read and
112
+ // A power user would strip out BME280_SensorSettings entirely, and send specific read and
113
113
// write command directly to the IC. (ST #defines below)
114
114
//
115
- struct SensorSettings
115
+ struct BME280_SensorSettings
116
116
{
117
117
public:
118
118
@@ -165,16 +165,16 @@ class BME280
165
165
{
166
166
public:
167
167
// settings
168
- SensorSettings settings;
168
+ BME280_SensorSettings settings;
169
169
SensorCalibration calibration;
170
170
int32_t t_fine;
171
171
172
- // Constructor generates default SensorSettings .
172
+ // Constructor generates default BME280_SensorSettings .
173
173
// (over-ride after construction if desired)
174
174
BME280 ( void );
175
175
// ~BME280() = default;
176
176
177
- // Call to apply SensorSettings .
177
+ // Call to apply BME280_SensorSettings .
178
178
// This also gets the SensorCalibration constants
179
179
uint8_t begin ( void );
180
180
bool beginSPI (uint8_t csPin); // Communicate using SPI
0 commit comments