摘要 |
An electronic device includes a shell, a circuit board, a light source mounted on the circuit board, a light guiding member defining a first pattern, a transparent light adjusting member defining a second pattern, a driving member, a sliding member slidably received in the shell, an optical sensor and a processor. The light adjusting member is revolvably mounted to the shell. The sliding member is mechanically coupled to the light adjusting member. The driving member is configured to drive the sliding member to move linearly so as to enable the sliding member to drive the light adjusting member to revolve, thereby rotation of the second pattern relative to the first pattern causing variation of light intensity passing through the light adjusting member. The optical sensor detects the ambient brightness. The process controls the driving member based on the ambient brightness.
|