B4J Question How to use MFRC522 Library to read second SPI channel?

Sandman

Expert
Licensed User
Longtime User
I have an Raspberry PI with two RC522 hooked up, one to each SPI channel. Using the MFRC522 Library by @sahand_123 works fine, but it only reads from the first channel. While debugging, I can even see that as a sort-of property. As far as I know it's not something I'm able to specify using Initialize, or at any other point though.

upload_2018-3-26_10-39-5.png



Can someone help me understand how I can set up so that, for instance, nfc0 points to SPI_Channel 0 and nfc1 points to SPI_Channel 1 so that I'm able to use both readers at the same time?
 
Top