The Arduino code for the temperature logger sensor.