Merge branch 'master' into pylint-update

This commit is contained in:
dherrada 2020-03-17 15:39:46 -04:00 committed by GitHub
commit 18858f7604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View file

@ -40,8 +40,8 @@ pn532 = PN532_I2C(i2c, debug=False, reset=reset_pin, req=req_pin)
# uart = busio.UART(board.TX, board.RX, baudrate=115200, timeout=100)
# pn532 = PN532_UART(uart, debug=False)
ic, ver, rev, support = pn532.get_firmware_version()
print("Found PN532 with firmware version: {0}.{1}".format(ver, rev))
ic, ver, rev, support = pn532.firmware_version
print('Found PN532 with firmware version: {0}.{1}'.format(ver, rev))
# Configure PN532 to communicate with MiFare cards
pn532.SAM_configuration()