Skip to content

Commit c4d7fe2

Browse files
committed
Correct spi argument to type SPI
1 parent a226483 commit c4d7fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_74hc595.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ShiftRegister74HC595:
126126

127127
def __init__(
128128
self,
129-
spi: busio.I2C,
129+
spi: busio.SPI,
130130
latch: digitalio.DigitalInOut,
131131
number_of_shift_registers: int = 1,
132132
):

0 commit comments

Comments
 (0)