added getLastTemperature method to Arduino API