File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,10 @@ void MAX31855Class::setColdOffset(float offset) {
228
228
_coldOffset = offset;
229
229
}
230
230
231
+ float MAX31855Class::getColdOffset () {
232
+ return _coldOffset;
233
+ }
234
+
231
235
void MAX31855Class::setFaultChecks (uint8_t faults) {
232
236
_faultMask = faults & TC_FAULT_ALL;
233
237
}
@@ -240,4 +244,8 @@ uint8_t MAX31855Class::getLastFault() {
240
244
241
245
void MAX31855Class::setTCType (uint8_t type) {
242
246
_current_probe_type = type;
243
- }
247
+ }
248
+
249
+ void MAX31855Class::getTCType ()) {
250
+ return _current_probe_type;
251
+ }
Original file line number Diff line number Diff line change @@ -30,12 +30,15 @@ class MAX31855Class {
30
30
double readTCVoltage ();
31
31
double readTCTemperature ();
32
32
float readReferenceTemperature ();
33
+
33
34
void setColdOffset (float offset);
35
+ float getColdOffset ();
34
36
35
37
void setFaultChecks (uint8_t faults);
36
38
uint8_t getLastFault ();
37
39
38
40
void setTCType (uint8_t type);
41
+ uint8_t getTCType ();
39
42
40
43
private:
41
44
float _coldOffset;
You can’t perform that action at this time.
0 commit comments