Add code for error mode led.