I'm trying to use the rPi SPI (read from RFID-RC522) port using this repo.
When I'm trying to run
test-nRF.py on a Raspberry Pi, I'm getting the following error:
pi@raspberrypi ~/SPI-Py $ python test-nRF.py install Traceback (most recent call last): File "test-nRF.py", line 11, in <module> status = spi.openSPI(speed=1000000) AttributeError: 'module' object has no attribute 'openSPI'
I installed the MFRC522-python library and the SPI-Py also but I got the same error.
How can I fix this error?