Patent ID: 8506124

Claim:
A light-emitting device comprising: a head comprising an emitting member configured to emit light; and a support secured to the head and comprising a circuit board, the circuit board comprising a sensor and a processor, the sensor to detect an air pressure of the light-emitting device, the processor being configured to control the emitting member to emit light with a color and a luminance value corresponding to the detected air pressure; wherein the circuit board comprises a storage unit storing a table, the table comprises a first column recording different air pressure ranges, a second column recording different colors, and a third column recording different luminance values, each of the air pressure ranges corresponds to one of the colors and one of the luminance values, the processor comprises a determining module and an executing module, the determining module is configured to determine whether the detected air pressure falls within one of the air pressure ranges in the table, and determine the color and the luminance value corresponding to the detected air pressure range if the detected air pressure falls within the air pressure range, the executing module is configured to control the emitting member to emit light with the color and the luminance value determined by the determining module.