Changed the initialization of external LEDs