   //testCaseAllNum();
   //splitNumber(-99.99999);
   displayTemperature();
-
 }
 
 void clearLEDs() {

const int dataPin = 8;
const int latchPin = 9;
const int clockPin = 10;

/* General LED layout of seven-segment display
  ___

  pinMode(latchPin, OUTPUT);
  pinMode(dataPin, OUTPUT);  
  pinMode(clockPin, OUTPUT);

  pinMode(buttonPin, INPUT);

  Serial.begin(9600);
}

const long refreshInterval = 10; //refresh delay in microseconds
long previousRefresh = 0; //previous refresh time
int refreshLoop = 0;  //counter for refreshing loop
int buttonState = 0;
bool displayCelcius = true;

void loop() {
  //current timer variables to reset at each iteration
  unsigned long currentRefresh = micros();  //get current microseconds for refresh counter

  buttonState = digitalRead(buttonPin); 
  if (buttonState == HIGH)
    displayCelcius = !(displayCelcius);

  clearLEDs();

