SLOPE_MLUX_NUM

Constant SLOPE_MLUX_NUM 

Source
pub const SLOPE_MLUX_NUM: u32 = 20_636;
Expand description

Millilux per count above DARK_OFFSET_RAW, as the fraction SLOPE_MLUX_NUM / SLOPE_MLUX_DEN20.636 mlux per count.

Fitted through the origin from the 185 lux point: 185000 / 8965.086 = 20.636.

A fraction rather than a whole number of millilux because rounding the slope to an integer would discard a percent or two of the answer — more than the sub-count resolution the sampling in [crate::power] exists to buy.