Mercurial > code > home > repos > homeauto
changeset 1237:c8ac652d37b7
switch to uart
Ignore-this: b5285d12100bc182b970ea392f48e259
darcs-hash:c8280607c51cb0da02361600f2fa3d62be66b83b
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 09 Apr 2019 09:05:42 -0700 |
parents | 7364c259de8a |
children | cce999b5c840 |
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