mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
524 stars 418 forks source link

Error in code #37

Open Himura2la opened 7 years ago

Himura2la commented 7 years ago

https://github.com/mxgxw/MFRC522-python/blob/master/MFRC522.py#L179

>>> not ~(0b1000101 & 0x01)
False
>>> not ~(0b1000100 & 0x01)
False

I feel like I'm eating shit when refactoring this code. Sorry, but one should choose the language he knows for his projects.