EXIT: The Game + Puzzle – The Deserted Lighthouse

Can you fix the lighthouse beacon before a ship crashes into the rocks?