Skip to content

Commit

Permalink
Merge pull request #75 from M-Gregoire/patch-1
Browse files Browse the repository at this point in the history
Corrected command not corresponding to comments
  • Loading branch information
nehpetsde committed Jul 16, 2017
2 parents 8dc2616 + 28dc4f9 commit 1296f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/get-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Bluetooth connectivity). On a Raspberry Pi 2 it is always ttyAMA0.
>>> import nfc
>>> clf = nfc.ContactlessFrontend()
>>> assert clf.open('tty:USB0:arygon') is True # open /dev/ttyUSB0 with arygon driver
>>> assert clf.open('tty:AMA0:pn532') is True # open /dev/ttyUSB0 with pn532 driver
>>> assert clf.open('tty:USB0:pn532') is True # open /dev/ttyUSB0 with pn532 driver
>>> assert clf.open('tty:AMA0') is True # try different drivers on /dev/ttyAMA0
>>> assert clf.open('tty') is True # try all serial ports and drivers
>>> clf.close() # previous open calls implicitly closed the device
Expand Down

0 comments on commit 1296f02

Please sign in to comment.