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 MFRC522
|
||||
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 spi
|
||||
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 MFRC522
|
||||
import signal
|
||||
|
@ -53,4 +56,4 @@ while continue_reading:
|
|||
print "Authentication error"
|
||||
|
||||
# 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 MFRC522
|
||||
import signal
|
||||
|
|
Loading…
Reference in a new issue