Multiple Blink States with a button no delay

lloyddean:
Look at the reference at http://arduino.cc/en/Reference/BooleanVariables

A boolean shouldn't be set to anything other the 'true' or 'false' and not 'LOW'

if ( State == 4 )

{
    State = 0;
}




can be less awkwardly expressed as



State = ++State % 4;




same with this awkward statement



(Count == 15) ? Count = 0 : Count++;

thanks lloyddean i dont know that you could do that
but that aside how about this?

case(2):
    
    digitalWrite(Led[0],State2[Count][0]);
    digitalWrite(Led[1],State2[Count][1]);
    if (Count==6)Count=0;
    break;
    case(3):
    
    digitalWrite(Led[0],State3[Count][0]);
    digitalWrite(Led[1],State3[Count][1]);
    digitalWrite(Led[2],State3[Count][2]);
    if (Count==9)Count=0;
    break;