The spark generator is one of the parts that make up the pilot assembly and is responsible for generating a spark that allows the pilot burner to ignite. It is controlled by the electronic control which is controlled via the control panel by the user .