Serial temperature sensor code