Python code for SI1145
-
I leave here my first python code for the values out of the SI1145, light and UV I2C sensor.
UV is not very reliable, since the actual sensor is not capable of UV sensing. According to datasheed there are 2 registers which do have UV values, but i found them very unreliable. Apart from that you can get IV, visible light and proximity out of the sensor.
Hope that someone find this useful.
pythoni2c.py SI1145.py
-
@Pedro-Baco Thanks for sharing!