Skip to content

Commit b5567d3

Browse files
committed
fixed simpletest stub
1 parent 725e13c commit b5567d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/qwiicrelay_simpletest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
and print out the relay position.
1414
"""
1515

16-
from time import sleep
1716
import board
1817
import busio
1918
import sparkfun_qwiicrelay
@@ -22,7 +21,7 @@
2221
i2c = busio.I2C(board.SCL, board.SDA)
2322

2423
# Create relay object
25-
relay = Sparkfun_QwiicRelay(i2c)
24+
relay = sparkfun_qwiicrelay.Sparkfun_QwiicRelay(i2c)
2625

2726
# Check if connected
2827
if relay.connected:

0 commit comments

Comments
 (0)