What kind of I2C device is TSL2591?

The TSL2591 lux sensor is described as an I2C device in it's datasheet where you won't see detailed the communication protocol so there are some problems:- it does not work with the hardware implementation of the master I2C library;- it does not work with the software implementation of the master I2C library;- but it does … Continue reading What kind of I2C device is TSL2591?

How to activate floating point for sprintf in your Low Layer based project

By defaut, a project created for Low Layer driver with STM32CubeMX use the newlib-nano C library and as direct effect, the floating point processing is removed from printf formatting function. You won't see your floating point numbers printed.Here I wrote a little tutorial about how you activate the floating point for the printf function, which … Continue reading How to activate floating point for sprintf in your Low Layer based project