Arduino: Updating Internal Temperature function