Re-ran black
This commit is contained in:
parent
18858f7604
commit
d488bbd852
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ pn532 = PN532_I2C(i2c, debug=False)
|
|||
# pn532 = PN532_UART(uart, debug=False)
|
||||
|
||||
ic, ver, rev, support = pn532.firmware_version
|
||||
print('Found PN532 with firmware version: {0}.{1}'.format(ver, rev))
|
||||
print("Found PN532 with firmware version: {0}.{1}".format(ver, rev))
|
||||
|
||||
# Configure PN532 to communicate with MiFare cards
|
||||
pn532.SAM_configuration()
|
||||
|
|
|
@ -61,7 +61,7 @@ pn532 = PN532_SPI(spi, cs_pin, debug=False)
|
|||
# pn532 = PN532_UART(uart, debug=False)
|
||||
|
||||
ic, ver, rev, support = pn532.firmware_version
|
||||
print('Found PN532 with firmware version: {0}.{1}'.format(ver, rev))
|
||||
print("Found PN532 with firmware version: {0}.{1}".format(ver, rev))
|
||||
|
||||
# Configure PN532 to communicate with MiFare cards
|
||||
pn532.SAM_configuration()
|
||||
|
|
|
@ -41,7 +41,7 @@ pn532 = PN532_I2C(i2c, debug=False, reset=reset_pin, req=req_pin)
|
|||
# pn532 = PN532_UART(uart, debug=False)
|
||||
|
||||
ic, ver, rev, support = pn532.firmware_version
|
||||
print('Found PN532 with firmware version: {0}.{1}'.format(ver, rev))
|
||||
print("Found PN532 with firmware version: {0}.{1}".format(ver, rev))
|
||||
|
||||
# Configure PN532 to communicate with MiFare cards
|
||||
pn532.SAM_configuration()
|
||||
|
|
Loading…
Reference in a new issue