ondryaso / pi-rc522

Raspberry Pi Python library for SPI RFID RC522 module
MIT License
417 stars 149 forks source link

Variable Pinout definition (BCM/BOARD) #26

Closed soundstorm closed 7 years ago

soundstorm commented 7 years ago

The hardcoded pin mode makes it sometimes hard to use it with other libraries. This could fix it.

Please note: pip install pi-rc522 does not work as mentioned (dependency on https://github.com/lthiery/SPI-Py which is != spidev).

ondryaso commented 7 years ago

I've tried to put the latest version on PyPI, I think it should work properly. You can give it a try, a feedback will be welcomed.