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 0307bd7 commit 474c064Copy full SHA for 474c064
Adafruit_GPIO/SPI.py
@@ -97,6 +97,7 @@ def transfer(self, data):
97
class SpiDevMraa(object):
98
"""Hardware SPI implementation with the mraa library on Minnowboard"""
99
def __init__(self, port, device, max_speed_hz=500000):
100
+ import mraa
101
self._device = mraa.Spi(0)
102
self._device.mode(0)
103
0 commit comments