Updated temperature to support tmp36.
Fixed warnings.