   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);


AsyncTemperatureSensor sensor(temperatureSensorPin);

unsigned long lastIncrement = 0;

int digitValues[] = 
{

    case 1: return 10;
    case 2: return 100;
    case 3: return 1000;
    default: assert(false);
  }
}

