Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145b1d3 commit 35a6a9cCopy full SHA for 35a6a9c
Adafruit_GPIO/SPI.py
@@ -43,7 +43,7 @@ def __init__(self, port, device, max_speed_hz=500000):
43
self._device.max_speed_hz=max_speed_hz
44
# Default to mode 0, and make sure CS is active low.
45
self._device.mode = 0
46
- self.cshigh = False
+ self._device.cshigh = False
47
48
def set_clock_hz(self, hz):
49
"""Set the speed of the SPI clock in hertz. Note that not all speeds
0 commit comments