Home › Forums › Mayfly Data Logger › Calculated Variable Celsius to Fahrenheit DS18 › Reply To: Calculated Variable Celsius to Fahrenheit DS18
2021-02-12 at 12:07 PM
#15135
Does that make sense?
So, for example, in line 178 you created a variable for the DS18 (Variable *ds18Temp = new MaximDS18_Temp(&ds18, "12345678-abcd-1234-ef00-1234567890ab");
) Since you’ve already done that, down in line 234 instead you can replace new MaximDS18_Temp(&ds18, "12345678-abcd-1234-ef00-1234567890ab"),
with just ds18Temp,
. And you can do the same with all of the other variables.