Backlight services: Difference between revisions
→lbl: Name cmd29 |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= lbl = | = lbl = | ||
This is "nn::lbl::detail::ILblController". | This is "nn::lbl::detail::ILblController". | ||
This was moved to [[PTM_services|PTM]] with [10.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 64: | Line 66: | ||
| 28 || [3.0.0+] [[#IsVrModeEnabled]] | | 28 || [3.0.0+] [[#IsVrModeEnabled]] | ||
|- | |- | ||
| 29 || [7.0.0+] | | 29 || [7.0.0+] IsAutoBrightnessControlSupported | ||
|} | |} | ||
== GetAmbientLightSensorValue == | == GetAmbientLightSensorValue == | ||
Line 105: | Line 102: | ||
== IsVrModeEnabled == | == IsVrModeEnabled == | ||
No input. Returns an output u8 bool set by the above commands. | No input. Returns an output u8 bool set by the above commands. | ||
= Notes = | |||
The BH1730 outputs 2 values. Visible light and IR light. This is then calculated through an algorithm that checks for Gain, Measurement time, filter qualities and ouputs lux (max correct measurement of 100K lux). | |||
The default values are Gain 64x and ITIME of 38 (256 - 218). This allows for a max lux value of 17972 lux when visible light value is maximum and IR light is 0. When both of them are on their limit, the output is 1192 lux. | |||
The sensor is fully configurable. | |||
[[Category:Services]] | [[Category:Services]] |