UV Light
Python Library for Si1133 UV, IR, and Visible Light Sensor.
Python Library
Turta_UV_Light library is responsible for reading UV Index, IR light, and visible light data from the Si1133 sensor.
Initialization
Add the following statement to the top of your Python code.
Then, create an instance of the UVAmbientLightSensor class.
Now you're ready to access the library by calling its instance.
Basic Members
Read UV
Reads the UV Index value.
Parameters
None
Returns
Float: UV Index.
Read IR
Reads the IR value.
Parameters
None
Returns
Int: Raw IR value.
Finalizer
When exiting from the program, the library stops the sensor.
Last updated