   valueToDisplay = temperatureInF;
 
   unsigned long now = millis();
-  if (now > lastIncrement + 100)
+  if (now > lastUpdate + 100)
   {
     sensor.update();
-    lastIncrement = now;
+    lastUpdate = now;
   }
 
   digitalWrite(ledPin, (now % 200 == 0) ? HIGH : LOW);

  writeValue(0, valueToDisplay, false);
}

bool toggle = false;
unsigned long lastToggle = 0;

void loop()
{
  float place = calculatePlace(3 - segmentIndex, decimals);


AsyncTemperatureSensor sensor(temperatureSensorPin);

unsigned long lastUpdate = 0;

int digitValues[] = 
{
