I'm a bit new to this, so sorry if this is a simple mistake.
I am trying to get the sunlight sensor to work. When i do the .readVisible(), .readIR(), and .readUV(), they all give me a value of zero. I followed the instructions to download the correct .py files and I import them correctly. Am I missing something?
CODE in python:
import time import SDL_Pi_SI1145
sensor = SDL_Pi_SI1145.SDL_Pi_SI1145() while True: print(sensor.readVisible()) print(sensor.readIR()) print(sensor.readUV()) print() time.sleep(3)