mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
521 stars 419 forks source link

Problem to MFRC522 #71

Open BPanupong opened 5 years ago

BPanupong commented 5 years ago

Hi All;

I have a problem with MFRC522. I am setting "NRSTPD" to 

|sical | V | Mode | Name | wPi | BCM | | 22 | 1 | OUT | GPIO. 6 | 6 | 25 |

I would like to know why I can't run Read.py. It's show the message below

Traceback (most recent call last): File "Read.py", line 41, in MIFAREReader = MFRC522.MFRC522() File "/home/pi/MFRC522-python/MFRC522.py", line 133, in init GPIO.setup(self.NRSTPD, GPIO.OUT) ValueError: The channel sent is invalid on a Raspberry Pi

Could you please advice me?