    digitalWrite(latchPin, HIGH);
 }
 
+
 //global variables for the test function
-const long testInterval = 1000; //counter delay in milliseconds
+const long testInterval = 10; //counter delay in milliseconds
 long previousTestTime = 0; //previous count time
-int testLoop = 0; //counter for counting loop
+int testLoop = -999; //counter for counting loop
+int resetTestLoop = 10000;
 
 void testCaseAllNum() {
   //test case, a loop timer that runs through each integer from 0 to 9999

Digit selection controlled via Arduino digital pin, HIGH is off, LOW is on
7-segment LEDs are controlled via 74HC595 8-bit register

The display shows positive integers from 0 to 9999

Copyright (c) 2013 Bryan Dagerman
*/

/* General LED layout of seven-segment display
  ___


    pickDigit(refreshLoop);
    displayNumber();
    refreshLoop++;
  }

