Convert program from Raspberry to A20 (RPI.GPIO)

Started by shug, November 03, 2014, 04:35:00 PM

Previous topic - Next topic

shug

Hello,
I need some help to convert a programm (RFID Reader) that works perfectly under Raspberry but use the RP.GPIO library.
I would like to make it work on my A20 (with pyA20).
Could anyone help me ?
thanks

blejku

There should not be a problem but you have to know what type of communication using rfid reader . Is this a serial I2C , 1-wire , SPI ..?
Then we can adapt it for the A20 .

Regards.

shug

Hello,
of course I didn't get you enough details : it is a spi type of communication (+ reset pin). The chip is the NXP MFRC522.
Code for raspberry pi is here : https://github.com/mxgxw/MFRC522-python

Thanks