You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for the TMP102 sensor. Unfortunately, this will almost
certainly cause the ADS1015 chip to be incorrectly detected and treated
as a TMP102 sensor. Ideally I'll find a way to distinguish between
the two based upon their behavior in a future commit.
Copy file name to clipboardExpand all lines: Firmware/OpenLog_Artemis/settings.h
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ typedef enum
8
8
DEVICE_DISTANCE_VL53L1X,
9
9
DEVICE_GPS_UBLOX,
10
10
DEVICE_PROXIMITY_VCNL4040,
11
+
DEVICE_TEMPERATURE_TMP102,
11
12
DEVICE_TEMPERATURE_TMP117,
12
13
DEVICE_PRESSURE_MS5637,
13
14
DEVICE_PRESSURE_LPS25HB,
@@ -170,12 +171,18 @@ struct struct_VL53L1X {
170
171
unsigned long powerOnDelayMillis=minimumQwiicPowerOnDelay; // Wait for at least this many millis before communicating with this device. Increase if required!
171
172
};
172
173
174
+
structstruct_TMP102 {
175
+
boollog= true;
176
+
unsigned long powerOnDelayMillis=minimumQwiicPowerOnDelay; // Wait for at least this many millis before communicating with this device. Increase if required!
177
+
};
178
+
179
+
173
180
#defineTMP117_MODE_CONTINUOUS 0
174
181
#defineTMP117_MODE_SHUTDOWN 1
175
182
#defineTMP117_MODE_ONESHOT 2
176
183
structstruct_TMP117 {
177
184
boollog= true;
178
-
boollogTemperature= true;
185
+
boollogTemperature= true;// JWS : This value is set to true here, and then ever changed ever again???
179
186
intconversionMode=TMP117_MODE_CONTINUOUS;
180
187
intconversionAverageMode=0; //Setup for 15.5ms reads
0 commit comments