Question about Thermoistors and how to use the its data to make an output


So im doing this for my little Brother but this part has me stuck. What I’m trying to do is read what temperature it is and if it gets above 30C then it outputs to a digitalpin. sounds basic, I know but here’s the code and once you look deeper into it you’ll see what i mean by “im stuck”.

Any help would be awesome! :smiley:

thermistor_Av.ino (1.77 KB)

if (20 <= Thermistor)

don’t you need “()” behind Thermistor to invoke the function that returns a value?

without them, the value is the location of the function in memory