Bug fix LED and circuit initialisation