changes after local build of RTD and review
This commit is contained in:
parent
1859ca77d8
commit
2628c4aa09
4 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,6 @@ Implementation Notes
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from digitalio import Direction
|
from digitalio import Direction
|
||||||
|
|
||||||
from micropython import const
|
from micropython import const
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -164,7 +163,7 @@ class PN532:
|
||||||
*,
|
*,
|
||||||
debug: bool = False,
|
debug: bool = False,
|
||||||
irq: Optional[DigitalInOut] = None,
|
irq: Optional[DigitalInOut] = None,
|
||||||
reset: Optional[DigitalInOut] = None
|
reset: Optional[DigitalInOut] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Create an instance of the PN532 class"""
|
"""Create an instance of the PN532 class"""
|
||||||
self.low_power = True
|
self.low_power = True
|
||||||
|
|
|
@ -52,7 +52,8 @@ class PN532_I2C(PN532):
|
||||||
|
|
||||||
:param ~busio.I2C i2c: The I2C bus the PN532 is connected to.
|
:param ~busio.I2C i2c: The I2C bus the PN532 is connected to.
|
||||||
:param int address: The I2C device address. Defaults to :const:`0x24`
|
:param int address: The I2C device address. Defaults to :const:`0x24`
|
||||||
:param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
|
:param digitalio.DigitalInOut irq: board pin the PN532 IRQ is connected to
|
||||||
|
:param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
|
||||||
:param digitalio.DigitalInOut req: board pin the PN532 P32 is connected to
|
:param digitalio.DigitalInOut req: board pin the PN532 P32 is connected to
|
||||||
:param bool debug: if True print additional debug statements. Defaults to False
|
:param bool debug: if True print additional debug statements. Defaults to False
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ class PN532_SPI(PN532):
|
||||||
:param ~busio.SPI spi: The spi bus the PN532 is connected to.
|
:param ~busio.SPI spi: The spi bus the PN532 is connected to.
|
||||||
:param digitalio.DigitalInOut cs: board pin the PN532 chip select line is connected to
|
:param digitalio.DigitalInOut cs: board pin the PN532 chip select line is connected to
|
||||||
:param digitalio.DigitalInOut irq: board pin the PN532 P32 is connected to
|
:param digitalio.DigitalInOut irq: board pin the PN532 P32 is connected to
|
||||||
:param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
|
:param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
|
||||||
:param bool debug: if True print additional debug statements. Defaults to False
|
:param bool debug: if True print additional debug statements. Defaults to False
|
||||||
|
|
||||||
**Quickstart: Importing and using the device**
|
**Quickstart: Importing and using the device**
|
||||||
|
|
|
@ -39,7 +39,7 @@ class PN532_UART(PN532):
|
||||||
Optional reset pin and debugging output.
|
Optional reset pin and debugging output.
|
||||||
|
|
||||||
:param ~busio.UART uart: The uart object the PN532 is connected to.
|
:param ~busio.UART uart: The uart object the PN532 is connected to.
|
||||||
:param digitalio.DigitalInOut reset: board pin the PN532 reset is connected to
|
:param digitalio.DigitalInOut reset: board pin the PN532 RSTOUT_N is connected to
|
||||||
:param bool debug: if True print additional debug statements. Defaults to False
|
:param bool debug: if True print additional debug statements. Defaults to False
|
||||||
|
|
||||||
**Quickstart: Importing and using the device**
|
**Quickstart: Importing and using the device**
|
||||||
|
|
Loading…
Reference in a new issue