Code for temperature sensors tested