Skip to content

Commit 0e3ac3c

Browse files
updated to comply with pylint
1 parent a03e236 commit 0e3ac3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/fingerprint_simpletest_rpi.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import time
22
import board
3-
import busio
3+
#import busio
4+
import serial
45
from digitalio import DigitalInOut, Direction
56
import adafruit_fingerprint
67

@@ -18,7 +19,7 @@
1819
#uart = serial.Serial("/dev/ttyS0", baudrate=57600, timeout=1)
1920

2021
# If using with Linux/Raspberry Pi 3 with pi3-disable-bt
21-
import serial
22+
#import serial
2223
uart = serial.Serial("/dev/ttyAMA0", baudrate=57600, timeout=1)
2324

2425
finger = adafruit_fingerprint.Adafruit_Fingerprint(uart)

0 commit comments

Comments
 (0)