Motor vehicle headlamp having at least one light module, which light module comprises at least one optoelectronic component which is arranged in the main radiation direction of a first lighting means and has a controllable arrangement of a plurality of micromirrors , which micromirrors are arranged in the form of a two-dimensional matrix having rows and columns and can be pivoted independently of one another into a first and a second position wherein micromirrors located in the first position redirect light rays emitted from the first illuminant to at least one projection optic , the at least one projection optic being adapted to generate a light distribution or a portion of a light distribution and wherein the light module further comprises a sensor means and at least one control device which is arranged to control the first illuminant and the micromirrors of the optoelectronic component , characterized in that the light module further comprises a second illuminating means , wherein the control device is arranged to control the sensor means and the second illuminating means and wherein micromirrors , which are in the first position, deflect the light beams emittable by the second illuminating means onto the sensor means , wherein the sensor means is arranged to detect the light rays of the second illuminating means deflected by the micromirrors onto the sensor means to obtain a value, and to transmit this value to the control device , which control device compares the value with a predefined threshold value stored in a memory, wherein the control device prevents the first illuminant from being switched on when the predefined threshold value is reached or switching on the first illuminant when falling below the predefined threshold value, and wherein micromirrors , which are in the second position, deflect the light rays emittable by the second illuminating means onto a light ray absorbing absorber . wherein micromirrors located in the first position redirect light rays emitted from the first illuminant to at least one projection optic , the at least one projection optic being adapted to generate a light distribution or a portion of a light distribution and wherein the light module further comprises a sensor means and at least one control device which is arranged to control the first illuminant and the micromirrors of the optoelectronic component , characterized in that the light module further comprises a second illuminating means , wherein the control device is arranged to control the sensor means and the second illuminating means and wherein micromirrors , which are in the first position, deflect the light beams emittable by the second illuminating means onto the sensor means , wherein the sensor means is arranged to detect the light rays of the second illuminating means deflected by the micromirrors onto the sensor means to obtain a value, and to transmit this value to the control device , which control device compares the value with a predefined threshold value stored in a memory, wherein the control device prevents the first illuminant from being switched on when the predefined threshold value is reached or switching on the first illuminant when falling below the predefined threshold value, and wherein micromirrors , which are in the second position, deflect the light rays emittable by the second illuminating means onto a light ray absorbing absorber . <EOS>