LCD not functioning properly

try using pins 7,8,9, and some pins other than 10,11,12 for lcd. Your temperature sensor is using pins 11-13, possibly 10 too.