Mercurial > code > home > repos > homeauto
changeset 434:2409446ccfa2
switch to uart
Ignore-this: b5285d12100bc182b970ea392f48e259
author | drewp@bigasterisk.com |
---|---|
date | Tue, 09 Apr 2019 09:05:42 -0700 |
parents | d7ede2330b6d |
children | 80e403e107b1 |
files | service/rfid_pn532_py/rfid.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/service/rfid_pn532_py/rfid.py Sun Apr 07 04:02:42 2019 -0700 +++ b/service/rfid_pn532_py/rfid.py Tue Apr 09 09:05:42 2019 -0700 @@ -1,5 +1,5 @@ import os -os.environ['LIBNFC_DEFAULT_DEVICE'] = "pn532_i2c:/dev/i2c-1" +os.environ['LIBNFC_DEFAULT_DEVICE'] = "pn532_uart:/dev/ttyUSB0" from docopt import docopt from rdfdb.patch import Patch