fix examples import
This commit is contained in:
parent
51ee2ddff9
commit
df5fcff2a2
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ After initialization, try waving various 13.56MHz RFID cards over it!
|
||||||
import board
|
import board
|
||||||
import busio
|
import busio
|
||||||
from digitalio import DigitalInOut
|
from digitalio import DigitalInOut
|
||||||
from Adafruit_Circuitpython_PN532 import adafruit_pn532
|
import adafruit_pn532
|
||||||
|
|
||||||
# I2C connection:
|
# I2C connection:
|
||||||
i2c = busio.I2C(board.SCL, board.SDA)
|
i2c = busio.I2C(board.SCL, board.SDA)
|
||||||
|
|
|
@ -28,7 +28,7 @@ type RFID tag
|
||||||
import board
|
import board
|
||||||
import busio
|
import busio
|
||||||
from digitalio import DigitalInOut
|
from digitalio import DigitalInOut
|
||||||
from Adafruit_Circuitpython_PN532 import adafruit_pn532
|
import adafruit_pn532
|
||||||
|
|
||||||
# I2C connection:
|
# I2C connection:
|
||||||
#i2c = busio.I2C(board.SCL, board.SDA)
|
#i2c = busio.I2C(board.SCL, board.SDA)
|
||||||
|
|
Loading…
Reference in a new issue