File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 28
28
29
29
import time
30
30
from digitalio import Direction
31
-
32
31
from micropython import const
33
32
34
33
try :
@@ -164,7 +163,7 @@ def __init__(
164
163
* ,
165
164
debug : bool = False ,
166
165
irq : Optional [DigitalInOut ] = None ,
167
- reset : Optional [DigitalInOut ] = None
166
+ reset : Optional [DigitalInOut ] = None ,
168
167
) -> None :
169
168
"""Create an instance of the PN532 class"""
170
169
self .low_power = True
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ def __init__(
52
52
53
53
:param ~busio.I2C i2c: The I2C bus the PN532 is connected to.
54
54
:param int address: The I2C device address. Defaults to :const:`0x24`
55
- :param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
55
+ :param digitalio.DigitalInOut irq: board pin the PN532 IRQ is connected to
56
+ :param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
56
57
:param digitalio.DigitalInOut req: board pin the PN532 P32 is connected to
57
58
:param bool debug: if True print additional debug statements. Defaults to False
58
59
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def __init__(
67
67
:param ~busio.SPI spi: The spi bus the PN532 is connected to.
68
68
:param digitalio.DigitalInOut cs: board pin the PN532 chip select line is connected to
69
69
:param digitalio.DigitalInOut irq: board pin the PN532 P32 is connected to
70
- :param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
70
+ :param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
71
71
:param bool debug: if True print additional debug statements. Defaults to False
72
72
73
73
**Quickstart: Importing and using the device**
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def __init__(
39
39
Optional reset pin and debugging output.
40
40
41
41
:param ~busio.UART uart: The uart object the PN532 is connected to.
42
- :param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
42
+ :param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
43
43
:param bool debug: if True print additional debug statements. Defaults to False
44
44
45
45
**Quickstart: Importing and using the device**
You can’t perform that action at this time.
0 commit comments