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

Fix #112 #157

Closed kyngs closed 1 year ago

kyngs commented 1 year ago

The issue was caused by not omitting the CRC_A returned by the mifareRead function. I suggest checking other usages of the method for the same issue

After compiling this patch, I can confirm that mifareSetUid works correctly.

kyngs commented 1 year ago

Closed due to me being dumbo and adding other commits