Shebang added, fixed typo, executable bit removed
This commit is contained in:
parent
22ac7b84b8
commit
3f25de5fc1
4 changed files with 16 additions and 4 deletions
3
Dump.py
Executable file → Normal file
3
Dump.py
Executable file → Normal file
|
@ -1,3 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf8 -*-
|
||||||
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import MFRC522
|
import MFRC522
|
||||||
import signal
|
import signal
|
||||||
|
|
3
MFRC522.py
Executable file → Normal file
3
MFRC522.py
Executable file → Normal file
|
@ -1,3 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf8 -*-
|
||||||
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import spi
|
import spi
|
||||||
import signal
|
import signal
|
||||||
|
|
5
Read.py
Executable file → Normal file
5
Read.py
Executable file → Normal file
|
@ -1,3 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf8 -*-
|
||||||
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import MFRC522
|
import MFRC522
|
||||||
import signal
|
import signal
|
||||||
|
@ -53,4 +56,4 @@ while continue_reading:
|
||||||
print "Authentication error"
|
print "Authentication error"
|
||||||
|
|
||||||
# Make sure to stop scanning for cards
|
# Make sure to stop scanning for cards
|
||||||
continue_reading = false
|
continue_reading = False
|
||||||
|
|
3
Write.py
Executable file → Normal file
3
Write.py
Executable file → Normal file
|
@ -1,3 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf8 -*-
|
||||||
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import MFRC522
|
import MFRC522
|
||||||
import signal
|
import signal
|
||||||
|
|
Loading…
Reference in a new issue