Right, that is why it worked ok in the UNO because it was mostly absolute. It is used only once from Reset so the 0-4 Seconds was just that, minus a small startup time. It doesnt work very well in leonardo because of the way the Serial port works so I am trying to find another way to test the Max and Min.