From 3c05b35009813cf36bf65ecd8e9c6c437569e206 Mon Sep 17 00:00:00 2001 From: Aissar Murad Neto Date: Fri, 27 Oct 2017 04:59:53 -0300 Subject: [PATCH 1/4] Change dependency from RPi.GPIO to OPi.GPIO Change dependency from RPi.GPIO to OPi.GPIO --- Dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dump.py b/Dump.py index ba7333a..7f78299 100644 --- a/Dump.py +++ b/Dump.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf8 -*- -import RPi.GPIO as GPIO +import OPi.GPIO as GPIO import MFRC522 import signal From c37854ba2a524cc59c142e8415ada61c226a1a08 Mon Sep 17 00:00:00 2001 From: Aissar Murad Neto Date: Fri, 27 Oct 2017 05:01:01 -0300 Subject: [PATCH 2/4] Change dependency from RPi.GPIO to OPi.GPIO Change dependency from RPi.GPIO to OPi.GPIO --- Read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Read.py b/Read.py index 964cd47..7c1b9a0 100644 --- a/Read.py +++ b/Read.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf8 -*- -import RPi.GPIO as GPIO +import OPi.GPIO as GPIO import MFRC522 import signal From 2ea2b5ecde61dec5c53a1fd9f2c4c50b592cedd8 Mon Sep 17 00:00:00 2001 From: Aissar Murad Neto Date: Fri, 27 Oct 2017 05:01:46 -0300 Subject: [PATCH 3/4] Change dependency from RPi.GPIO to OPi.GPIO Change dependency from RPi.GPIO to OPi.GPIO --- Write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Write.py b/Write.py index d754463..6694cd7 100644 --- a/Write.py +++ b/Write.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf8 -*- -import RPi.GPIO as GPIO +import OPi.GPIO as GPIO import MFRC522 import signal From 47a561a5b9a026d7f90ae0af29ebc381b0480834 Mon Sep 17 00:00:00 2001 From: Aissar Murad Neto Date: Fri, 27 Oct 2017 05:03:50 -0300 Subject: [PATCH 4/4] Change README to Orange Pi Zero Change README to Orange Pi Zero --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 699a45d..37785f7 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ MFRC522-python ============== -A small class to interface with the NFC reader Module MFRC522 on the Raspberry Pi. +A small class to interface with the NFC reader Module MFRC522 on the Orange Pi Zero H2+. This is a Python port of the example code for the NFC module MF522-AN. ##Requirements This code requires you to have SPI-Py installed from the following repository: -https://github.com/lthiery/SPI-Py +https://github.com/aissarmurad/SPI-Py ##Examples This repository includes a couple of examples showing how to read, write, and dump data from a chip. They are thoroughly commented, and should be easy to understand.