File tree 4 files changed +4
-0
lines changed
4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 7
7
import adafruit_ltr329_ltr303 as adafruit_ltr303
8
8
9
9
i2c = board .I2C () # uses board.SCL and board.SDA
10
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
10
11
11
12
time .sleep (0.1 ) # sensor takes 100ms to 'boot' on power up
12
13
ltr303 = adafruit_ltr303 .LTR303 (i2c )
Original file line number Diff line number Diff line change 7
7
from adafruit_ltr329_ltr303 import LTR303
8
8
9
9
i2c = board .I2C () # uses board.SCL and board.SDA
10
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
10
11
11
12
time .sleep (0.1 ) # sensor takes 100ms to 'boot' on power up
12
13
ltr303 = LTR303 (i2c )
Original file line number Diff line number Diff line change 7
7
import adafruit_ltr329_ltr303 as adafruit_ltr329
8
8
9
9
i2c = board .I2C () # uses board.SCL and board.SDA
10
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
10
11
11
12
time .sleep (0.1 ) # sensor takes 100ms to 'boot' on power up
12
13
ltr329 = adafruit_ltr329 .LTR329 (i2c )
Original file line number Diff line number Diff line change 7
7
from adafruit_ltr329_ltr303 import LTR329
8
8
9
9
i2c = board .I2C () # uses board.SCL and board.SDA
10
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
10
11
11
12
time .sleep (0.1 ) # sensor takes 100ms to 'boot' on power up
12
13
ltr329 = LTR329 (i2c )
You can’t perform that action at this time.
0 commit comments