From 4342a1521c5c48bc99eba0ea8e4144e61ca154c6 Mon Sep 17 00:00:00 2001 From: 1technophile <1technophile@users.noreply.github.com> Date: Sat, 12 Oct 2019 15:57:39 +0200 Subject: [PATCH] Remove extra informations to avoid PIO build error https://community.openmqttgateway.com/t/openmqttgateway-v0-9-2-build-error-on-win-10-x64/627/6 --- main/ZsensorBH1750.ino | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/main/ZsensorBH1750.ino b/main/ZsensorBH1750.ino index 5a71b49..75597e9 100644 --- a/main/ZsensorBH1750.ino +++ b/main/ZsensorBH1750.ino @@ -82,21 +82,6 @@ void MeasureLightIntensity() ftcd = Lux/10.764; Wattsm2 = Lux/683.0; - /* - Useful Information ;-) - lux (lx) # 1 lx = 1 lm/m² = 1 cd·sr·m⁻². - meter-candle (m-cd) # 1 m·cd = 1 lx = 1 lm/m² = 1 cd·sr·m⁻². - centimeter-candle (cm-sd) # 1 m·cd = 1 lx = 1 lm/m² = 1 cd·sr·m⁻². - foot-candle (ft-c) # - phot (ph) # 1 ph = 1 lm/cm² = 10,000 lm/m² - 10,000 lx = 10 klx - nox (nx) # 1 nox = 1 millilux - candela steradin/meter2(cd·sr·m⁻²) # 1 lx = 1 lm/m² = 1 cd·sr·m⁻² - lumen/meter2 (lm·m⁻²) # 1 lx = 1 lm/m² = 1 cd·sr·m⁻² - lumen/centimeter2 (lm·cm⁻²) # 1 lm/cm² = 10,000 lx = 10,000 cd·sr·m⁻² - lumen/foot2 (lm·ft⁻²) # (lm·ft⁻²) - watt/centimeter2 at 555nm (W·cm⁻²) # - */ - // Generate Lux if(Lux != persistedll || bh1750_always){ BH1750data.set("lux", (unsigned int)Lux);