Skip to content

Releases: joba-1/Joba_Tsl2561

tested Esp32 and i2c pin assignment

22 Feb 15:28
Compare
Choose a tag to compare

Define TSL2561_SDA and TSL2561_SCL (e.g. in platformio.ini build_flags) to use pins other than the defaults for i2c, if the board supports it.
Also added pio environment for ESP32.

return 99999.999 lx instead of 0 lx at saturation

11 Jan 14:07
Compare
Choose a tag to compare

if you use autoGain, then normalizedLuminosity and milliLux, you ended up getting 0 lx on saturation at shortest exposure. Now you get 99999.999 lx. I think that makes more sense.

Fix endless loop at full saturation

11 Jan 13:53
43115a1
Compare
Choose a tag to compare
Merge pull request #6 from joba-1/issue-5

fix for handling saturated sensor

autoGain() waits longer for measurements

08 Jul 21:29
Compare
Choose a tag to compare

as discussed in arendst/Tasmota#2415

increase waiting time for measurements in autoGain() for the benefit of slower chips.

Improved Wire handling

17 Apr 23:04
Compare
Choose a tag to compare

Removes unnecessary calls to endTransmission() as pointet out in #3 by @Koepel and @reloxx13

Swallow insignificant lux digits

27 Feb 17:32
Compare
Choose a tag to compare

This patch adds a parameter for significant digits to milliLux(). Default is 4 digits.

Fix for small platforms and better autogain

23 Feb 11:40
Compare
Choose a tag to compare

This release fixes examples for platforms where long is only 32bit (like e.g. atmega328).
It also improves autogain in cases of very fast increases of luminosity.

No links to make arduino lib manager happy

22 Feb 13:05
Compare
Choose a tag to compare

If you want to build the examples with PlatformIO pio command, see platformio.ini template in examples directory for guidance.

Patch 2.0.2 - replace Serial.printf from examples

21 Feb 18:30
Compare
Choose a tag to compare

Changed constructor

17 Feb 15:48
Compare
Choose a tag to compare

Constructor does not take i2c address anymore.
Now the addess is given later with begin(addr) or searched for with begin().