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

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

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

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

  clearLEDs();


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

//set pin for the toggle button
const int buttonPin = 11;

/* General LED layout of seven-segment display
  ___
