7 Commits
Author SHA1 Message Date
TD-er c603323870 [ESP-IDF 5.1] Fix some warnings on compiling with IDF 5.1 2023-10-10 11:56:15 +02:00
TD-er 46ee0ffe19 [TSL2591] Perform async reading of sensor prevent blocking calls 2020-10-28 17:19:54 +01:00
Florin 8b0c8a16bd Clean Warning messages inside external libraries: AS_BH1750 & Adafruit 2019-11-19 20:48:55 -05:00
Gijs Noorlander 6c950fcd77 [CPPcheck] Fix some suggestions from CPPcheck
Most are initialization issues, but some are actually programming errors like missing break; in switch statements.
2019-07-18 01:40:27 +02:00
TD-er d2644b2da7 [Cleanup] Do not use F-macro for short strings
Got rid of a few kB in the binary image by removing F-macro from numerous 1 or 2 character flash strings.
These very short strings take more space in flash and memory when using the F-macro.

Also appending to a string using a `'a'` character definition takes less resources compared to a one-character string `"a"`.
2018-11-04 01:27:42 +01:00
TD-er a487bd132d [I2C] Disable calls to wire.begin() from libraries 2018-06-05 19:56:23 +02:00
krikkandDatuX abbfa24ca6 added support for the TSL2591 Sensor based on Adafruit Library (#661)
* initial support for TSL2591 sensor

* return lux, visible, ir and full light separately

* better plugin init

* check sensor initialization before reading it..

* incorporated a few pending fixes for the adafruit library

* minor typo
2017-12-31 15:35:44 +01:00