changes after local build of RTD and review

This commit is contained in:
Thomas Franks 2023-04-08 20:50:43 -04:00
parent 1859ca77d8
commit 2628c4aa09
4 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,6 @@ Implementation Notes
import time
from digitalio import Direction
from micropython import const
try:
@ -164,7 +163,7 @@ class PN532:
*,
debug: bool = False,
irq: Optional[DigitalInOut] = None,
reset: Optional[DigitalInOut] = None
reset: Optional[DigitalInOut] = None,
) -> None:
"""Create an instance of the PN532 class"""
self.low_power = True

View file

@ -52,7 +52,8 @@ class PN532_I2C(PN532):
:param ~busio.I2C i2c: The I2C bus the PN532 is connected to.
: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 bool debug: if True print additional debug statements. Defaults to False

View file

@ -67,7 +67,7 @@ class PN532_SPI(PN532):
: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 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
**Quickstart: Importing and using the device**

View file

@ -39,7 +39,7 @@ class PN532_UART(PN532):
Optional reset pin and debugging output.
: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
**Quickstart: Importing and using the device**