kivancsikert / ugly-duckling

Firmware for FarmHub devices
0 stars 0 forks source link

Fix light sensor init #157

Closed lptr closed 3 months ago

lptr commented 3 months ago

C++. :(

At least with the TSL2591 light sensor, it often happened that the device measured astronomically high amounts of light, like 9.4e163 etc. Turns out the measurement frequency was messed up due to a C++ problem.