We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40d8457 commit 6d09011Copy full SHA for 6d09011
1 file changed
python/widgetlords/pi_spi.py
@@ -51,7 +51,7 @@ def __init__(self, spare: int = 0):
51
self.spare = int(spare) % 4
52
53
def set_channel(self, channel: int):
54
- widgetlords.pi_spi_8ai_16b_set_channel(channel)
+ widgetlords.pi_spi_8ai_16b_set_channel(channel, self.spare)
55
56
def read(self):
57
return widgetlords.pi_spi_8ai_16b_read(self.spare)
0 commit comments