Hello world, my first post here, total beginner in this : )
I have made this thermostat code, by cutting and pasting from all over… It reads a thermistor, can set desired temperature with a potentiometer and turn on/off a relay for the heater I use. In addition it has a light sensor, which is set to start a buzzer if I turn off the light in the room. This is because I don’t want to forget that it is on.
The code is probably very bloated, but it kinda works. I would, however, like to improve it by cleaning it up, making it better, more reliable and so on. I love to learn by watching how things can be improved.
So, anyone want to help make this a better sketch?
Thanks a million!!
PS: So sorry if I did this the wrong way, I have never posted in a forum before.