Patent ID: 7829831

Claim:
A method performed by a device, the method comprising: generating light with a flash unit associated with the device; receiving, directly from the flash unit, the generated light with an optical sensor associated with the device; generating, with the optical sensor, a light intensity signal based on the received light received directly from the flash unit; inverting the generated light intensity signal to generate an inverted light intensity signal; generating, with a controller associated with the device, a control signal based on the inverted light intensity signal and a reference signal that is based on one or more particular components of the device; receiving, by a control circuit associated with the device, the generated control signal; receiving, by the control circuit, an output voltage; controlling, with the control circuit, the output voltage based on the generated control signal; providing the controlled output voltage from the control circuit to the flash unit; and controlling the light generated by the flash unit based on the controlled output voltage.