Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/tsl2561_simpletest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import time
import board
import busio
import adafruit_tsl2561
Expand All @@ -18,6 +19,7 @@

# Enable the light sensor
tsl.enabled = True
time.sleep(1)

# Set gain 0=1x, 1=16x
tsl.gain = 0
Expand Down