4 LED state machine