You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using this sensor for a while now without any issues. Recently I came across an issue where sensor was providing regular Lux values and randomly, sensor was just stuck at one value. In other words, Lux value doesn't at all. I was wondering if there is a way to reset a sensor or soft reboot in the code in a scenario like when sensor doesn't give any new value. I'd appreciate all the possibilities.
Thanks,
Akshay
The text was updated successfully, but these errors were encountered:
Does toggling the light_shutdown property have any effect? It's the shutdown but not sure if it is what you're looking for:
importtimeimportboardimportadafruit_veml7700i2c=board.I2C() # uses board.SCL and board.SDA# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontrollerveml7700=adafruit_veml7700.VEML7700(i2c)
veml7700.light_shutdown=Truetime.sleep(0.1)
veml7700.light_shutdown=False
Hi all -
I've been using this sensor for a while now without any issues. Recently I came across an issue where sensor was providing regular Lux values and randomly, sensor was just stuck at one value. In other words, Lux value doesn't at all. I was wondering if there is a way to reset a sensor or soft reboot in the code in a scenario like when sensor doesn't give any new value. I'd appreciate all the possibilities.
Thanks,
Akshay
The text was updated successfully, but these errors were encountered: