Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 474c064

Browse files
author
Evan Steele
committed
Added needed import
1 parent 0307bd7 commit 474c064

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Adafruit_GPIO/SPI.py

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def transfer(self, data):
9797
class SpiDevMraa(object):
9898
"""Hardware SPI implementation with the mraa library on Minnowboard"""
9999
def __init__(self, port, device, max_speed_hz=500000):
100+
import mraa
100101
self._device = mraa.Spi(0)
101102
self._device.mode(0)
102103

0 commit comments

Comments
 (0)