Skip to content

Commit f416ab3

Browse files
committed
Fixed code example
1 parent 03bf5d1 commit f416ab3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,9 @@ Usage Example
145145
146146
# import the CircuitPython board and busio libraries
147147
import board
148-
import busio
149148
150149
# Create bus object using the board's I2C port
151-
i2c = busio.I2C(board.SCL, board.SDA)
150+
i2c = board.I2C()
152151
153152
relay = QwiicRelay(i2c) # default address is 0x18
154153

0 commit comments

Comments
 (0)