Thermostat code

Could it be due to a little short I made for mistake the other day? It lasted 1-2 seconds though,and everything else works fine anyway,so I actually don't think it's that..but I just can't figure out what's not working.

Are all the analog pins affected? If so, it's time to go shopping.