Skip to content

Commit 4a54d59

Browse files
authored
Merge pull request #24 from caternuson/iss23
Update example
2 parents 511d8f6 + a44e57c commit 4a54d59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/tsl2561_simpletest.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import time
12
import board
23
import busio
34
import adafruit_tsl2561
@@ -18,6 +19,7 @@
1819

1920
# Enable the light sensor
2021
tsl.enabled = True
22+
time.sleep(1)
2123

2224
# Set gain 0=1x, 1=16x
2325
tsl.gain = 0

0 commit comments

Comments
 (0)