View Source TSL256X.CSPackage (tsl256x v0.1.0)
Calculation for CS Package
Coefficients
Ch1/Ch0 | Lux/Ch0 |
---|---|
0 <= n <= 0.13 | 0.0315−0.0262*(Ch1/Ch0) |
0.13 <= n <= 0.26 | 0.0337−0.0430*(Ch1/Ch0) |
0.26 <= n <= 0.39 | 0.0363−0.0529*(Ch1/Ch0) |
0.39 <= n <= 0.52 | 0.0392−0.0605*(Ch1/Ch0) |
0.52 < n <= 0.65 | 0.0229−0.0291*(Ch1/Ch0) |
0.65 < n <= 0.80 | 0.00157−0.00180*(Ch1/Ch0) |
0.80 < n <= 1.30 | 0.00338−0.00260*(Ch1/Ch0) |
n > 1.30 | 0 |
Summary
Functions
Calculate the lux value
Functions
Calculate the lux value