A few more lines of code and done. Just need to actually test it with the sensor in boiling water and verify the accuracy. I can tweak a few things to get it spot on in the 180-200 range where I want it the most accurate.
Was a fun project and the kiddo learned a few things
Ignore the values for now. Was just messing around. The fan controller operates on 20-100% PWM. So when duty cycle is at 20% fan speed will really be at 1% (i know it says 5%...ignore it). I’ll tweak these values when I actually input my desired fan speeds at specific coolant temps.
And if you are curious, here's a snip of my coding. I didn't write it 100%. Maybe 50% was "borrowed from the internet" and then i tweaked it a bit here and there to do what I needed it to do. 139 lines total.