Skip to content

Could the driver be changed to support passing I2C address as a parameter? #49

Closed
@ErlendFj

Description

@ErlendFj

Often more than one PN532 needs to be connected to one I2C bus. The chip can be set to different address than the default x24, but at present this driver does not support it, rather it is set as a constant in the code.
I can make my own version, but I believe this change would benefit others too. E.g.
NFC = PN532_I2C(SCL, SDA, ADDR)
ADDR could be an optional parameter, and if left out the default x24 will be set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions