   writeValue(0, valueToDisplay, false);
 }
 
-bool toggle = false;
-unsigned long lastToggle = 0;
-
 void loop()
 {
   float place = calculatePlace(3 - segmentIndex, decimals);


AsyncTemperatureSensor sensor(temperatureSensorPin);

unsigned long lastIncrement = 0;

int digitValues[] = 
{

  valueToDisplay = temperatureInF;

  unsigned long now = millis();
  if (now > lastUpdate + 100)
  {
    sensor.update();
    lastUpdate = now;
  }

  digitalWrite(ledPin, (now % 200 == 0) ? HIGH : LOW);
