mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

readAndWrite function in MFRC522 #53

Open sofiane-dev opened 4 years ago

sofiane-dev commented 4 years ago

I'm getting a MIFARE_Write() failed with different cards on different sectors but when i use the default library in a python program it works i think the problem comes from your API could you check please

mattjlewis commented 4 years ago

Please share the Python code that works and I'll take a look.

sofiane-dev commented 4 years ago

I used this library https://github.com/mxgxw/MFRC522-python