jp112sdl / Beispiel_AskSinPP

88 stars 36 forks source link

Update HM-Sen-LI-O.ino #38

Closed der-pw closed 4 years ago

der-pw commented 4 years ago

sets pcnt 0 if lux and lux_prev 0

Weil in der Berechnung zu pcnt, pcnt immer 100 ist, wenn lux und lux_prev 0 sind. Prüfe zusätzlich ob lux und lux_prev 0 sind, und setze pcnt auch auf 0.