Skip to content

Commit 65592e9

Browse files
committed
update library name
1 parent 5c94880 commit 65592e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/read_uv.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#VEML6070 Driver Example Code
22
import time
33
import busio
4-
import veml6070
4+
import adafruit_veml6070
55
import board
66

77
with busio.I2C(board.SCL, board.SDA) as i2c:
8-
uv = veml6070.VEML6070(i2c)
8+
uv = adafruit_veml6070.VEML6070(i2c)
99
# Alternative constructors with parameters
10-
#uv = veml6070.VEML6070(i2c, 'VEML6070_1_T')
11-
#uv = veml6070.VEML6070(i2c, 'VEML6070_HALF_T', True)
10+
#uv = adafruit_veml6070.VEML6070(i2c, 'VEML6070_1_T')
11+
#uv = adafruit_veml6070.VEML6070(i2c, 'VEML6070_HALF_T', True)
1212

1313
# take 10 readings
1414
for j in range(10):

0 commit comments

Comments
 (0)