B4J Question Possible to use jPi4J to access two RC522? (on different SPI channels)

Sandman

Well-Known Member
Licensed User
I have an Raspberry PI with two RC522 hooked up, one to each SPI channel. I'm aware of the MFRC522 Library by @sahand_123, but using that library I'm only able to access the reader connected to the first SPI channel. (I've just posted another question about it.)

I'm curious if it would be possible to skip the MFRC522 Library mentioned above and instead just use jPi4J to communicate with the two readers and read tags? Note that I need to be able to provide KeyA to them both to be able to access the contents of the tags.

All help (and perhaps even code) to achieve this is highly appreciated.
 
Top